class SimpleEnumeration::Types::HashFactory

Public Instance Methods

converted_value() click to toggle source
# File lib/simple_enumeration/types/hash_factory.rb, line 10
def converted_value
  definition.first.last.to_s
end
value() click to toggle source
# File lib/simple_enumeration/types/hash_factory.rb, line 6
def value
  definition.first.first.to_s
end