Sha256: 086d1c14d61d423cecb6b87f6279ef6a1aaa8f2b36ca2b733c7c956195a9c4f7

Contents?: true

Size: 428 Bytes

Versions: 4

Compression:

Stored size: 428 Bytes

Contents

$LOAD_PATH.unshift(File.dirname(__FILE__))

require 'nagoro/version'
require 'nagoro/template'

module Nagoro
  autoload :Tidy, 'nagoro/tidy'

  def self.compile(io, options = {})
    Template.new.compile(io, options)
  end

  def self.render(obj, options = {})
    compile(obj, options).result
  end

  def self.tidy_render(obj, options = {})
    compile(obj, options).tidy_result
  end

  class Error < StandardError; end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
manveru-nagoro-2009.03.28 lib/nagoro.rb
manveru-nagoro-2009.05 lib/nagoro.rb
nagoro-2013.03 lib/nagoro.rb
nagoro-2009.05 lib/nagoro.rb