Sha256: 4ab900b5012f728b25415474ca332c7a822623182d60834237c46e106adedb7a

Contents?: true

Size: 362 Bytes

Versions: 1

Compression:

Stored size: 362 Bytes

Contents

#coding: utf-8
require 'wombat/property_container'
require 'wombat/iterator'

module Wombat
  class Metadata < PropertyContainer
    attr_accessor :document_format

    def initialize
      @document_format = :html
      super
    end

    def base_url url
      self[:base_url] = url
    end

    def list_page url
      self[:list_page] = url
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
wombat-0.2.4 lib/wombat/metadata.rb