Sha256: 26776cdcf127281f4ad7caa19cc86c92658d57b13b8878f198a78d8e1cc80f24

Contents?: true

Size: 694 Bytes

Versions: 7

Compression:

Stored size: 694 Bytes

Contents

require 'zip'
require 'nokogiri'

require "sablon/version"
require "sablon/configuration/configuration"

require "sablon/context"
require "sablon/environment"
require "sablon/template"
require "sablon/processor/document"
require "sablon/processor/section_properties"
require "sablon/parser/mail_merge"
require "sablon/operations"
require "sablon/html/converter"
require "sablon/content"

module Sablon
  class TemplateError < ArgumentError; end
  class ContextError < ArgumentError; end

  def self.configure
    yield(Configuration.instance) if block_given?
  end

  def self.template(path)
    Template.new(path)
  end

  def self.content(type, *args)
    Content.make(type, *args)
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
sablon-0.4.1 lib/sablon.rb
sablon-0.4.0 lib/sablon.rb
sablon-0.3.2 lib/sablon.rb
sablon-0.3.1 lib/sablon.rb
sablon-0.3.0 lib/sablon.rb
sablon-0.2.1 lib/sablon.rb
sablon-0.2.0 lib/sablon.rb