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



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

def desc
  @desc
end

#helpObject

Returns the value of attribute help

Returns:

  • (Object)

    the current value of help



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

def help
  @help
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



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

def name
  @name
end

#optsObject

Returns the value of attribute opts

Returns:

  • (Object)

    the current value of opts



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

def opts
  @opts
end