Permalink
Browse files

silence instance var not initialized warning #132

  • Loading branch information...
1 parent f1ea599 commit 7a64f87542242389acdf90842248b4e06d774a6b @rohit rohit committed Mar 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/thor/shell/basic.rb
View
2 lib/thor/shell/basic.rb
@@ -23,7 +23,7 @@ def mute
# Check if base is muted
#
def mute?
- @mute
+ @mute ||= false
end
# Sets the output padding, not allowing less than zero values.

0 comments on commit 7a64f87

Please sign in to comment.