Module: Boxspring::Taggable
- Included in:
- Attribution, Show, TagCollection, Video
- Defined in:
- lib/boxspring/taggable.rb
Instance Method Summary collapse
Instance Method Details
#tags ⇒ Object
5 6 7 8 9 10 11 12 13 |
# File 'lib/boxspring/taggable.rb', line 5 def ||= begin self.attributes.include?( :tags ) ? self.attributes[ :tags ].map do | tag | Tag.new( tag ) end : nil end end |