Class: Rubycli::OptionDefinition

Inherits:
Struct
  • Object
show all
Defined in:
lib/rubycli/types.rb

Instance Attribute Summary collapse

Instance Attribute Details

#allowed_valuesObject

Returns the value of attribute allowed_values

Returns:

  • (Object)

    the current value of allowed_values



4
5
6
# File 'lib/rubycli/types.rb', line 4

def allowed_values
  @allowed_values
end

#boolean_flagObject

Returns the value of attribute boolean_flag

Returns:

  • (Object)

    the current value of boolean_flag



4
5
6
# File 'lib/rubycli/types.rb', line 4

def boolean_flag
  @boolean_flag
end

#default_valueObject

Returns the value of attribute default_value

Returns:

  • (Object)

    the current value of default_value



4
5
6
# File 'lib/rubycli/types.rb', line 4

def default_value
  @default_value
end

#descriptionObject

Returns the value of attribute description

Returns:

  • (Object)

    the current value of description



4
5
6
# File 'lib/rubycli/types.rb', line 4

def description
  @description
end

#doc_formatObject

Returns the value of attribute doc_format

Returns:

  • (Object)

    the current value of doc_format



4
5
6
# File 'lib/rubycli/types.rb', line 4

def doc_format
  @doc_format
end

#inline_type_annotationObject

Returns the value of attribute inline_type_annotation

Returns:

  • (Object)

    the current value of inline_type_annotation



4
5
6
# File 'lib/rubycli/types.rb', line 4

def inline_type_annotation
  @inline_type_annotation
end

#inline_type_textObject

Returns the value of attribute inline_type_text

Returns:

  • (Object)

    the current value of inline_type_text



4
5
6
# File 'lib/rubycli/types.rb', line 4

def inline_type_text
  @inline_type_text
end

#keywordObject

Returns the value of attribute keyword

Returns:

  • (Object)

    the current value of keyword



4
5
6
# File 'lib/rubycli/types.rb', line 4

def keyword
  @keyword
end

#longObject

Returns the value of attribute long

Returns:

  • (Object)

    the current value of long



4
5
6
# File 'lib/rubycli/types.rb', line 4

def long
  @long
end

#optional_valueObject

Returns the value of attribute optional_value

Returns:

  • (Object)

    the current value of optional_value



4
5
6
# File 'lib/rubycli/types.rb', line 4

def optional_value
  @optional_value
end

#requires_valueObject

Returns the value of attribute requires_value

Returns:

  • (Object)

    the current value of requires_value



4
5
6
# File 'lib/rubycli/types.rb', line 4

def requires_value
  @requires_value
end

#shortObject

Returns the value of attribute short

Returns:

  • (Object)

    the current value of short



4
5
6
# File 'lib/rubycli/types.rb', line 4

def short
  @short
end

#typesObject

Returns the value of attribute types

Returns:

  • (Object)

    the current value of types



4
5
6
# File 'lib/rubycli/types.rb', line 4

def types
  @types
end

#value_nameObject

Returns the value of attribute value_name

Returns:

  • (Object)

    the current value of value_name



4
5
6
# File 'lib/rubycli/types.rb', line 4

def value_name
  @value_name
end