Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #142 from gazay/fix-mute

Initializing mute variable
  • Loading branch information...
commit e2c505c921bf528af2a5d64ebdfe61bc5fe9dee5 2 parents b56a4f4 + ff2d7f7
José Valim josevalim authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/thor/shell/basic.rb
4 lib/thor/shell/basic.rb
View
@@ -5,10 +5,10 @@ module Shell
class Basic
attr_accessor :base, :padding
- # Initialize base and padding to nil.
+ # Initialize base, mute and padding to nil.
#
def initialize #:nodoc:
- @base, @padding = nil, 0
+ @base, @mute, @padding = nil, false, 0
end
# Mute everything that's inside given block
Please sign in to comment.
Something went wrong with that request. Please try again.