Class: Gem::Command::Option

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

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionObject

Returns the value of attribute description

Returns:

  • (Object)

    the current value of description



16
17
18
# File 'lib/rubygems/command.rb', line 16

def description
  @description
end

#handlerObject

Returns the value of attribute handler

Returns:

  • (Object)

    the current value of handler



16
17
18
# File 'lib/rubygems/command.rb', line 16

def handler
  @handler
end

#longObject

Returns the value of attribute long

Returns:

  • (Object)

    the current value of long



16
17
18
# File 'lib/rubygems/command.rb', line 16

def long
  @long
end

#shortObject

Returns the value of attribute short

Returns:

  • (Object)

    the current value of short



16
17
18
# File 'lib/rubygems/command.rb', line 16

def short
  @short
end