Module: Kommando::CommandPlugins::Base::ClassMethods
- Defined in:
- lib/kommando/command_plugins/base.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
8 9 10 |
# File 'lib/kommando/command_plugins/base.rb', line 8 def @options end |
Instance Method Details
#inherited(subclass) ⇒ Object
10 11 12 13 |
# File 'lib/kommando/command_plugins/base.rb', line 10 def inherited(subclass) super subclass.instance_variable_set(:@options, .dup) end |