lib/picky/sources/base.rb in picky-2.1.2 vs lib/picky/sources/base.rb in picky-2.2.0
- old
+ new
@@ -40,18 +40,18 @@
end
# Called by the indexer when gathering data.
#
- # Yields the data (id, text for id) for the given type and category.
+ # Yields the data (id, text for id) for the given category.
#
# When implementing or overriding your own,
# be sure to <tt>yield(id, text_for_id)</tt> (or <tt>block.call(id, text_for_id)</tt>)
# for the given type symbol and category symbol.
#
# Note: Since harvest needs to be implemented, it has no default impementation.
#
- # def harvest index, category # :yields: id, text_for_id
+ # def harvest category # :yields: id, text_for_id
#
# end
# Used to take a snapshot of your data if it is fast changing.
#
\ No newline at end of file