lib/unbreakable.rb in unbreakable-0.0.1 vs lib/unbreakable.rb in unbreakable-0.0.2
- old
+ new
@@ -12,22 +12,22 @@
# A skeleton scraper:
#
# require 'unbreakable'
#
# class MyScraper < Unbreakable::Scraper
-# def retrieve
+# def retrieve(*args)
# # download all the documents
# end
# def processable
# # return a list of documents to process
# end
# end
#
# class MyProcessor < Unbreakable::Processors::Transform
-# def perform(temp_object)
+# def perform
# # return the transformed record as a hash, array, etc.
# end
-# def persist(temp_object, arg)
+# def persist(arg)
# # store the hash/array/etc. in Mongo, MySQL, YAML, etc.
# end
# end
#
# scraper = MyScraper.new