Sha256: 11d9659d3b0b19544ac3a6ee24c5b2312537139640512d4d658bf8fb4b5b6d60

Contents?: true

Size: 413 Bytes

Versions: 1

Compression:

Stored size: 413 Bytes

Contents

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

module Wombat
  class Metadata < PropertyContainer
    def initialize
      self[:document_format] = :html
      super
    end

    def base_url(url)
      self[:base_url] = url
    end

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

    def document_format(format)
      self[:document_format] = format
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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