lib/wombat/metadata.rb in wombat-0.5.0 vs lib/wombat/metadata.rb in wombat-1.0.0
- old
+ new
@@ -3,11 +3,11 @@
require 'wombat/iterator'
module Wombat
class Metadata < PropertyContainer
def initialize
- self[:format] = :html
+ self[:document_format] = :html
super
end
def base_url(url)
self[:base_url] = url
@@ -15,10 +15,10 @@
def list_page(url)
self[:list_page] = url
end
- def format(format)
- self[:format] = format
+ def document_format(format)
+ self[:document_format] = format
end
end
end
\ No newline at end of file