lib/wombat/metadata.rb in wombat-0.1.6 vs lib/wombat/metadata.rb in wombat-0.2.0
- old
+ new
@@ -2,26 +2,14 @@
require 'wombat/property_container'
require 'wombat/iterator'
module Wombat
class Metadata < PropertyContainer
- attr_accessor :iterators
-
- def initialize
- @iterators = []
- end
-
def base_url url
self[:base_url] = url
end
def list_page url
self[:list_page] = url
- end
-
- def for_each selector
- Iterator.new(selector).tap do |i|
- iterators << i
- end
end
end
end
\ No newline at end of file