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.



7
8
9
10
11
12
13
# File 'lib/acts-as-taggable-on/taggable/tagged_with_query/query_base.rb', line 7

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