Module: ActsAsTaggableOnMongoid::Models::Concerns::TagMethods
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/acts_as_taggable_on_mongoid/models/concerns/tag_methods.rb
Instance Method Summary collapse
-
#==(other) ⇒ Object
INSTANCE METHODS:.
- #to_s ⇒ Object
Instance Method Details
#==(other) ⇒ Object
INSTANCE METHODS:
64 65 66 67 68 69 |
# File 'lib/acts_as_taggable_on_mongoid/models/concerns/tag_methods.rb', line 64 def ==(other) super || (other.class == self.class && name == other.name && context == other.context && taggable_type == other.taggable_type) end |
#to_s ⇒ Object
71 72 73 |
# File 'lib/acts_as_taggable_on_mongoid/models/concerns/tag_methods.rb', line 71 def to_s name end |