Module: MakeTaggable::Taggable::Collection
- Defined in:
- lib/make_taggable/taggable/collection.rb
Defined Under Namespace
Modules: CalculationMethods, ClassMethods
Class Method Summary
collapse
Instance Method Summary
collapse
Class Method Details
.included(base) ⇒ Object
3
4
5
6
|
# File 'lib/make_taggable/taggable/collection.rb', line 3
def self.included(base)
base.extend MakeTaggable::Taggable::Collection::ClassMethods
base.initialize_make_taggable_collection
end
|
Instance Method Details
#tag_counts_on(context, options = {}) ⇒ Object
169
170
171
|
# File 'lib/make_taggable/taggable/collection.rb', line 169
def tag_counts_on(context, options = {})
self.class.tag_counts_on(context, options.merge(id: id))
end
|