Class: Sickle::Command
- Inherits:
-
Object
- Object
- Sickle::Command
- Defined in:
- lib/sickle.rb
Instance Attribute Summary collapse
-
#desc ⇒ Object
Returns the value of attribute desc.
-
#meth ⇒ Object
Returns the value of attribute meth.
-
#name ⇒ Object
Returns the value of attribute name.
-
#options ⇒ Object
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(meth, name, desc, options) ⇒ Command
constructor
A new instance of Command.
Constructor Details
#initialize(meth, name, desc, options) ⇒ Command
Returns a new instance of Command.
58 59 60 |
# File 'lib/sickle.rb', line 58 def initialize(meth, name, desc, ) @meth, @name, @desc, @options = meth, name, desc, end |
Instance Attribute Details
#desc ⇒ Object
Returns the value of attribute desc.
56 57 58 |
# File 'lib/sickle.rb', line 56 def desc @desc end |
#meth ⇒ Object
Returns the value of attribute meth.
56 57 58 |
# File 'lib/sickle.rb', line 56 def meth @meth end |
#name ⇒ Object
Returns the value of attribute name.
56 57 58 |
# File 'lib/sickle.rb', line 56 def name @name end |
#options ⇒ Object
Returns the value of attribute options.
56 57 58 |
# File 'lib/sickle.rb', line 56 def @options end |