Class: Commander::Command

Inherits:
Struct
  • Object
show all
Defined in:
lib/nub/commander.rb

Instance Attribute Summary collapse

Instance Attribute Details

#descObject

Returns the value of attribute desc

Returns:

  • (Object)

    the current value of desc



91
92
93
# File 'lib/nub/commander.rb', line 91

def desc
  @desc
end

#helpObject

Returns the value of attribute help

Returns:

  • (Object)

    the current value of help



91
92
93
# File 'lib/nub/commander.rb', line 91

def help
  @help
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



91
92
93
# File 'lib/nub/commander.rb', line 91

def name
  @name
end

#optsObject

Returns the value of attribute opts

Returns:

  • (Object)

    the current value of opts



91
92
93
# File 'lib/nub/commander.rb', line 91

def opts
  @opts
end