Sha256: 18f97d38a4fb211a186221fa8740457ec180b9a74905036b2cb93c5110b304d9

Contents?: true

Size: 375 Bytes

Versions: 2

Compression:

Stored size: 375 Bytes

Contents

require 'juggalo/version'
require 'juggalo/page'
require 'juggalo/layout'
require 'juggalo/page/loader'

module Juggalo
  def self.run(template_location, layout_location)
    adapter = Page::Loader::YAML.new layout_location
    loader  = Page::Loader.new(adapter)
    layout  = Layout.new template_location
    page    = Page.new(layout, loader)

    page.compile
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
juggalo-0.0.2 lib/juggalo.rb
juggalo-0.0.1 lib/juggalo.rb