Method: EnumTable::Record::ClassMethods#find_sti_class

Defined in:
lib/enum_table/record.rb

#find_sti_class(type_name) ⇒ Object

:nodoc:



111
112
113
# File 'lib/enum_table/record.rb', line 111

def find_sti_class(type_name)  # :nodoc:
  (reflection = inheritance_enum) ? super(reflection.value(type_name).to_s) : super
end