Class: Command::Argument

Inherits:
Struct
  • Object
show all
Defined in:
lib/command/argument.rb

Instance Attribute Summary collapse

Instance Attribute Details

#bareObject

Returns the value of attribute bare

Returns:

  • (Object)

    the current value of bare



10
11
12
# File 'lib/command/argument.rb', line 10

def bare
  @bare
end

#descriptionObject

Returns the value of attribute description

Returns:

  • (Object)

    the current value of description



10
11
12
# File 'lib/command/argument.rb', line 10

def description
  @description
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



10
11
12
# File 'lib/command/argument.rb', line 10

def name
  @name
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



10
11
12
# File 'lib/command/argument.rb', line 10

def type
  @type
end

#usageObject

Returns the value of attribute usage

Returns:

  • (Object)

    the current value of usage



10
11
12
# File 'lib/command/argument.rb', line 10

def usage
  @usage
end