Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Silence instance var not initialized warning #221

Merged
merged 1 commit into from

2 participants

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 18, 2012
  1. @rohit
This page is out of date. Refresh to see the latest.
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.
Something went wrong with that request. Please try again.