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.
Files changed (2) hide show
  1. data/lib/seashell.rb +2 -1
  2. metadata +2 -2
@@ -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
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 0
8
- - 2
9
- version: 1.0.2
8
+ - 3
9
+ version: 1.0.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Toby Lawrence