seashell 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- 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
|