Class: Rubycli::PositionalDefinition

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



11
12
13
# File 'lib/rubycli/types.rb', line 11

def allowed_values
  @allowed_values
end

#default_valueObject

Returns the value of attribute default_value

Returns:

  • (Object)

    the current value of default_value



11
12
13
# File 'lib/rubycli/types.rb', line 11

def default_value
  @default_value
end

#descriptionObject

Returns the value of attribute description

Returns:

  • (Object)

    the current value of description



11
12
13
# File 'lib/rubycli/types.rb', line 11

def description
  @description
end

#doc_formatObject

Returns the value of attribute doc_format

Returns:

  • (Object)

    the current value of doc_format



11
12
13
# File 'lib/rubycli/types.rb', line 11

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



11
12
13
# File 'lib/rubycli/types.rb', line 11

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



11
12
13
# File 'lib/rubycli/types.rb', line 11

def inline_type_text
  @inline_type_text
end

#labelObject

Returns the value of attribute label

Returns:

  • (Object)

    the current value of label



11
12
13
# File 'lib/rubycli/types.rb', line 11

def label
  @label
end

#param_nameObject

Returns the value of attribute param_name

Returns:

  • (Object)

    the current value of param_name



11
12
13
# File 'lib/rubycli/types.rb', line 11

def param_name
  @param_name
end

#placeholderObject

Returns the value of attribute placeholder

Returns:

  • (Object)

    the current value of placeholder



11
12
13
# File 'lib/rubycli/types.rb', line 11

def placeholder
  @placeholder
end

#typesObject

Returns the value of attribute types

Returns:

  • (Object)

    the current value of types



11
12
13
# File 'lib/rubycli/types.rb', line 11

def types
  @types
end