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