Module: Golden::EnumValueConcern
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/golden/active_record_concerns/enum_value_concern.rb
Instance Method Summary collapse
Instance Method Details
#human_attribute_enum(attribute_name) ⇒ Object
23 24 25 |
# File 'lib/golden/active_record_concerns/enum_value_concern.rb', line 23 def human_attribute_enum(attribute_name) self.class.human_attribute_enum_value(attribute_name, send(attribute_name)) end |