Sha256: c4f5d4e9320033217aa9dd12a7c9835e0823c21f05dcb6c2e4fdf1dd203ffa7e

Contents?: true

Size: 482 Bytes

Versions: 2

Compression:

Stored size: 482 Bytes

Contents

#coding: utf-8
require 'wombat/dsl/property_group'
require 'wombat/dsl/iterator'
require 'wombat/dsl/follower'

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

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

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

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
wombat-2.0.1 lib/wombat/dsl/metadata.rb
wombat-2.0.0 lib/wombat/dsl/metadata.rb