Class: AddressAttribute
- Inherits:
-
RecordAttribute
- Object
- ActiveRecord::Base
- RecordAttribute
- AddressAttribute
- Defined in:
- app/models/address_attribute.rb
Overview
Attribute for address info
Instance Method Summary collapse
Methods inherited from RecordAttribute
Instance Method Details
#to_html ⇒ Object
4 5 6 |
# File 'app/models/address_attribute.rb', line 4 def to_html to_s.gsub(/\n/, '<br />').html_safe end |