Class: Symphonia::ModelAttributes::MailAttribute
- Defined in:
- lib/symphonia/model_attributes/attribute.rb
Instance Attribute Summary
Attributes inherited from Attribute
#filter, #format_options, #name, #options, #sort_column
Instance Method Summary collapse
Methods inherited from Attribute
#default?, #filter?, #format, #initialize, #input_field, #input_options, #required?, #sort=, #sort?, #title, #value
Constructor Details
This class inherits a constructor from Symphonia::ModelAttributes::Attribute
Instance Method Details
#format_value(view, value, _entity) ⇒ Object
132 133 134 |
# File 'lib/symphonia/model_attributes/attribute.rb', line 132 def format_value(view, value, _entity) view.mail_to value.to_s, value.to_s, end |