Sha256: 88a452d3005bfb4a3d680c6c5b192533b59f9f73a267076e974d86f1952fa447

Contents?: true

Size: 386 Bytes

Versions: 2

Compression:

Stored size: 386 Bytes

Contents

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

module Wombat
  class Metadata < PropertyContainer
    def initialize
      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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
wombat-0.5.0 lib/wombat/metadata.rb
wombat-0.4.0 lib/wombat/metadata.rb