lib/picky/internals/indexed/index.rb in picky-2.2.0 vs lib/picky/internals/indexed/index.rb in picky-2.2.1

- old
+ new

@@ -10,23 +10,19 @@ delegate :load_from_cache, :analyze, :to => :categories - # TODO Externalize? - # def initialize name, options = {} @name = name @result_identifier = options[:result_identifier] || name @bundle_class = options[:indexed_bundle_class] # TODO This should actually be a fixed parameter. ignore_unassigned_tokens = options[:ignore_unassigned_tokens] || false # TODO Move to query, somehow. @categories = Categories.new ignore_unassigned_tokens: ignore_unassigned_tokens end - # TODO Doc. Externalize? - # def define_category category_name, options = {} options = default_category_options.merge options new_category = Category.new category_name, self, options categories << new_category \ No newline at end of file