Sha256: cbe8989d931bc94352be87e21a9a2f42d0c096fb8a930c88454a609e6f8f8428

Contents?: true

Size: 466 Bytes

Versions: 14

Compression:

Stored size: 466 Bytes

Contents

# encoding: utf-8

require "tilt"
require "rubyexts/mixins/chainable"

module Tilt
  ErubisTemplate.class_eval do
    extend RubyExts::Chainable
    chainable do
      def initialize_engine
        super
        require "rango/templates/exts/erubis"
      end
    end
  end

  HamlTemplate.class_eval do
    extend RubyExts::Chainable
    chainable do
      def initialize_engine
        super
        require "rango/templates/exts/haml"
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
rango-0.1.1.3 lib/rango/templates/exts/tilt.rb
rango-0.1.1.2.11 lib/rango/templates/exts/tilt.rb
rango-0.1.1.2.10 lib/rango/templates/exts/tilt.rb
rango-0.1.1.2.9 lib/rango/templates/exts/tilt.rb
rango-0.1.1.2.8 lib/rango/templates/exts/tilt.rb
rango-0.1.1.2.7 lib/rango/templates/exts/tilt.rb
rango-0.1.1.2.6 lib/rango/templates/exts/tilt.rb
rango-0.1.1.2.5 lib/rango/templates/exts/tilt.rb
rango-0.1.1.2.4 lib/rango/templates/exts/tilt.rb
rango-0.1.1.2.3 lib/rango/templates/exts/tilt.rb
rango-0.1.1.2.2 lib/rango/templates/exts/tilt.rb
rango-0.1.1.2.1 lib/rango/templates/exts/tilt.rb
rango-0.1.1.2 lib/rango/templates/exts/tilt.rb
rango-0.1.1.1 lib/rango/templates/exts/tilt.rb