Module: HumanAttributeValues
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/human_attribute_values.rb,
lib/human_attribute_values/version.rb,
lib/human_attribute_values/human_attribute_value.rb
Defined Under Namespace
Modules: ClassMethods
Constant Summary collapse
- VERSION =
"1.2.2"
Instance Method Summary collapse
Instance Method Details
#human_attribute_value(attribute, options = {}) ⇒ Object
6 7 8 9 |
# File 'lib/human_attribute_values/human_attribute_value.rb', line 6 def human_attribute_value(attribute, = {}) value = public_send(attribute) self.class.human_attribute_value(attribute, value, ) end |