seashell 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/seashell.rb +2 -1
- metadata +2 -2
data/lib/seashell.rb
CHANGED
|
@@ -2,6 +2,7 @@ class Seashell
|
|
|
2
2
|
attr_writer :debug
|
|
3
3
|
|
|
4
4
|
def initialize
|
|
5
|
+
@debug = false
|
|
5
6
|
@indent = 0
|
|
6
7
|
end
|
|
7
8
|
|
|
@@ -42,7 +43,7 @@ class Seashell
|
|
|
42
43
|
end
|
|
43
44
|
|
|
44
45
|
def debug(s)
|
|
45
|
-
puts _level("debug", _indent + s)
|
|
46
|
+
puts _level("debug", _indent + s) unless !@debug
|
|
46
47
|
end
|
|
47
48
|
|
|
48
49
|
def tick
|