Sha256: e7367b565dc02b4db3f1239447195b0b3949e9989a2273c3f6918efb7c8a20b6
Contents?: true
Size: 954 Bytes
Versions: 1
Compression:
Stored size: 954 Bytes
Contents
require 'rubygems' module Tadpole Version = '0.1.1' Root = File.dirname(__FILE__) module SectionProviders autoload :ERBProvider, Root + '/tadpole/providers/erb' autoload :FileProvider, Root + '/tadpole/providers/file' autoload :HamlProvider, Root + '/tadpole/providers/haml' autoload :MarkabyProvider, Root + '/tadpole/providers/markaby' autoload :TemplateProvider, Root + '/tadpole/providers/template' end module Filters autoload :ClassMethods, Root + '/tadpole/filters' autoload :InstanceMethods, Root + '/tadpole/filters' end autoload :Template, Root + '/tadpole/template' autoload :LocalTemplate, Root + '/tadpole/local_template' end ['tadpole/main', 'tadpole/providers/section_provider'].each do |path| require File.join(Tadpole::Root, path) end module Tadpole::SectionProviders register_provider TemplateProvider, ERBProvider, HamlProvider, FileProvider end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tadpole-0.1.1 | lib/tadpole.rb |