Class: Twirly::Commands::Base
- Inherits:
-
Object
- Object
- Twirly::Commands::Base
- Defined in:
- lib/twirly/commands/base.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
Returns the value of attribute args.
-
#options ⇒ Object
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(args, options) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(args, options) ⇒ Base
Returns a new instance of Base.
8 9 10 11 |
# File 'lib/twirly/commands/base.rb', line 8 def initialize(args, ) @args = args @options = .dup.symbolize_keys end |
Instance Attribute Details
#args ⇒ Object
Returns the value of attribute args.
6 7 8 |
# File 'lib/twirly/commands/base.rb', line 6 def args @args end |
#options ⇒ Object
Returns the value of attribute options.
6 7 8 |
# File 'lib/twirly/commands/base.rb', line 6 def @options end |