Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Initializing mute variable #142

Merged
merged 1 commit into from

2 participants

@gazay

Initializing mute variable in initialize of basic

@josevalim josevalim merged commit e2c505c into erikhuda:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jun 20, 2011
  1. @gazay

    Initializing mute variable

    gazay authored
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/thor/shell/basic.rb
View
4 lib/thor/shell/basic.rb
@@ -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
Something went wrong with that request. Please try again.