Class: ActsAsTaggableOn::Taggable::TaggedWithQuery::QueryBase

Inherits:
Object
  • Object
show all
Defined in:
lib/acts_as_taggable_on/taggable/tagged_with_query/query_base.rb

Direct Known Subclasses

AllTagsQuery, AnyTagsQuery, ExcludeTagsQuery

Instance Method Summary collapse

Constructor Details

#initialize(taggable_model, tag_model, tagging_model, tag_list, options) ⇒ QueryBase

Returns a new instance of QueryBase.


3
4
5
6
7
8
9
# File 'lib/acts_as_taggable_on/taggable/tagged_with_query/query_base.rb', line 3

def initialize(taggable_model, tag_model, tagging_model, tag_list, options)
  @taggable_model = taggable_model
  @tag_model      = tag_model
  @tagging_model  = tagging_model
  @tag_list       = tag_list
  @options        = options
end