Module: Outrigger::Taggable::ClassMethods
- Defined in:
- lib/outrigger/taggable.rb
Instance Method Summary collapse
Instance Method Details
#tag(*new_tags) ⇒ Object
12 13 14 |
# File 'lib/outrigger/taggable.rb', line 12 def tag(*) @tags = .concat().uniq end |
#tags ⇒ Object
16 17 18 |
# File 'lib/outrigger/taggable.rb', line 16 def @tags ||= [] end |