Method: Interview::Attribute#tooltip
- Defined in:
- lib/interview/attribute.rb
#tooltip ⇒ Object
30 31 32 33 |
# File 'lib/interview/attribute.rb', line 30 def tooltip object = find_attribute! :object return h.t("activerecord.attribute_tooltips.#{object.class.model_name.i18n_key}.#{@method}", default: '') end |