Skip to content
This repository
Browse code

Initializing mute variable

  • Loading branch information...
commit ff2d7f7fcf8f659a971228e85c331b9aa5e56197 1 parent 7416806
Alexey Gaziev authored June 20, 2011

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  lib/thor/shell/basic.rb
4  lib/thor/shell/basic.rb
@@ -5,10 +5,10 @@ module Shell
5 5
     class Basic
6 6
       attr_accessor :base, :padding
7 7
 
8  
-      # Initialize base and padding to nil.
  8
+      # Initialize base, mute and padding to nil.
9 9
       #
10 10
       def initialize #:nodoc:
11  
-        @base, @padding = nil, 0
  11
+        @base, @mute, @padding = nil, false, 0
12 12
       end
13 13
 
14 14
       # Mute everything that's inside given block

0 notes on commit ff2d7f7

Please sign in to comment.
Something went wrong with that request. Please try again.