Class: Sickle::Command

Inherits:
Object
  • Object
show all
Defined in:
lib/sickle.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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, options)
  @meth, @name, @desc, @options = meth, name, desc, options
end

Instance Attribute Details

#descObject

Returns the value of attribute desc.



56
57
58
# File 'lib/sickle.rb', line 56

def desc
  @desc
end

#methObject

Returns the value of attribute meth.



56
57
58
# File 'lib/sickle.rb', line 56

def meth
  @meth
end

#nameObject

Returns the value of attribute name.



56
57
58
# File 'lib/sickle.rb', line 56

def name
  @name
end

#optionsObject

Returns the value of attribute options.



56
57
58
# File 'lib/sickle.rb', line 56

def options
  @options
end