Class: Cmdopt::SchemaItem

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

Instance Attribute Summary collapse

Instance Attribute Details

#argObject

Returns the value of attribute arg.



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

def arg
  @arg
end

#attrObject

Returns the value of attribute attr.



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

def attr
  @attr
end

#descObject

Returns the value of attribute desc.



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

def desc
  @desc
end

#handlerObject

Returns the value of attribute handler.



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

def handler
  @handler
end

#longObject

Returns the value of attribute long.



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

def long
  @long
end

#optionsObject

Returns the value of attribute options.



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

def options
  @options
end

#requiredObject

Returns the value of attribute required.



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

def required
  @required
end

#shortObject

Returns the value of attribute short.



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

def short
  @short
end

#validatorObject

Returns the value of attribute validator.



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

def validator
  @validator
end