Module: Mongoid::Taggable::InstanceMethods
- Defined in:
- lib/mongoid/taggable.rb
Instance Method Summary collapse
Instance Method Details
#tags ⇒ Object
98 99 100 |
# File 'lib/mongoid/taggable.rb', line 98 def ( || []).join(self.class.) end |
#tags=(tags) ⇒ Object
102 103 104 |
# File 'lib/mongoid/taggable.rb', line 102 def () self. = .split(self.class.).map(&:strip).reject(&:blank?) end |