Class: SimpleEnumeration::Types::StringFactory
Instance Attribute Summary
Attributes inherited from BaseFactory
#definition, #enum_class
Instance Method Summary
collapse
Methods inherited from BaseFactory
#call, call, #initialize
Instance Method Details
#converted_value ⇒ Object
10
11
12
|
# File 'lib/simple_enumeration/types/string_factory.rb', line 10
def converted_value
definition.to_s
end
|
#value ⇒ Object
6
7
8
|
# File 'lib/simple_enumeration/types/string_factory.rb', line 6
def value
definition.to_s
end
|