Class: EnumHelperStruct

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

Instance Attribute Summary collapse

Instance Attribute Details

#displayObject

Returns the value of attribute display

Returns:

  • (Object)

    the current value of display



65
66
67
# File 'lib/def_enum_helper.rb', line 65

def display
  @display
end

#indexObject

Returns the value of attribute index

Returns:

  • (Object)

    the current value of index



65
66
67
# File 'lib/def_enum_helper.rb', line 65

def index
  @index
end