Module: Mongoid::Taggable::InstanceMethods
- Defined in:
- lib/mongoid/taggable.rb
Instance Method Summary collapse
Instance Method Details
#tags ⇒ Object
109 110 111 |
# File 'lib/mongoid/taggable.rb', line 109 def ( || []).join(self.class.) end |
#tags=(tags) ⇒ Object
113 114 115 |
# File 'lib/mongoid/taggable.rb', line 113 def () self. = .split(self.class.).map(&:strip).reject(&:blank?) end |