lib/wombat/metadata.rb in wombat-0.2.4 vs lib/wombat/metadata.rb in wombat-0.2.5

- old
+ new

@@ -2,21 +2,23 @@ require 'wombat/property_container' require 'wombat/iterator' module Wombat class Metadata < PropertyContainer - attr_accessor :document_format - def initialize - @document_format = :html + self[:format] = :html super end def base_url url self[:base_url] = url end def list_page url self[:list_page] = url + end + + def format format + self[:format] = format end end end \ No newline at end of file