Sha256: 949c8a6f8047adb07a038710b13ce54b9ec1e121410b65623f5edd85c7302d2d

Contents?: true

Size: 625 Bytes

Versions: 2

Compression:

Stored size: 625 Bytes

Contents

require 'singleton'
require 'zip'
require 'nokogiri'

require "sablon/version"
require "sablon/numbering"
require "sablon/context"
require "sablon/template"
require "sablon/processor/document"
require "sablon/processor/section_properties"
require "sablon/processor/numbering"
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.template(path)
    Template.new(path)
  end

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sablon-0.0.21 lib/sablon.rb
sablon-0.0.20 lib/sablon.rb