Class: TypedEnums::EnumDefinition

Inherits:
Data
  • Object
show all
Defined in:
lib/typed_enums/enum_definition.rb

Instance Attribute Summary collapse

Instance Attribute Details

#attribute_nameObject (readonly)

Returns the value of attribute attribute_name

Returns:

  • (Object)

    the current value of attribute_name



4
5
6
# File 'lib/typed_enums/enum_definition.rb', line 4

def attribute_name
  @attribute_name
end

#model_export_nameObject (readonly)

Returns the value of attribute model_export_name

Returns:

  • (Object)

    the current value of model_export_name



4
5
6
# File 'lib/typed_enums/enum_definition.rb', line 4

def model_export_name
  @model_export_name
end

#model_nameObject (readonly)

Returns the value of attribute model_name

Returns:

  • (Object)

    the current value of model_name



4
5
6
# File 'lib/typed_enums/enum_definition.rb', line 4

def model_name
  @model_name
end

#rails_mapping_nameObject (readonly)

Returns the value of attribute rails_mapping_name

Returns:

  • (Object)

    the current value of rails_mapping_name



4
5
6
# File 'lib/typed_enums/enum_definition.rb', line 4

def rails_mapping_name
  @rails_mapping_name
end

#typescript_property_nameObject (readonly)

Returns the value of attribute typescript_property_name

Returns:

  • (Object)

    the current value of typescript_property_name



4
5
6
# File 'lib/typed_enums/enum_definition.rb', line 4

def typescript_property_name
  @typescript_property_name
end

#typescript_type_nameObject (readonly)

Returns the value of attribute typescript_type_name

Returns:

  • (Object)

    the current value of typescript_type_name



4
5
6
# File 'lib/typed_enums/enum_definition.rb', line 4

def typescript_type_name
  @typescript_type_name
end

#valuesObject (readonly)

Returns the value of attribute values

Returns:

  • (Object)

    the current value of values



4
5
6
# File 'lib/typed_enums/enum_definition.rb', line 4

def values
  @values
end