Method: Gilt::Product#content
- Defined in:
- lib/gilt/product.rb
#content ⇒ Object
68 69 70 71 |
# File 'lib/gilt/product.rb', line 68 def content keys = [:description, :fit_notes, :material, :care_instructions, :origin] Hash[keys.map {|content| [content, self.send(content) ]}] end |