Sha256: 1d074d369a83c76be032ef1f29dadaf0217816f1631ee6314745760412caae1f

Contents?: true

Size: 348 Bytes

Versions: 6

Compression:

Stored size: 348 Bytes

Contents

require "sht_rails/version"
require "sht_rails/config"

module ShtRails
  extend Config

  autoload(:Tilt, 'sht_rails/tilt')

  if defined?(Rails)
    require 'sht_rails/engine'
  else
    require 'sprockets'
    Sprockets.register_engine ".#{ShtRails.template_extension}", Tilt
  end
end

# init action view handler
require "sht_rails/handlebars"

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
sht_rails-0.2.3 lib/sht_rails.rb
sht_rails-0.2.2 lib/sht_rails.rb
sht_rails-0.2.1 lib/sht_rails.rb
sht_rails-0.2.0 lib/sht_rails.rb
sht_rails-0.1.1 lib/sht_rails.rb
sht_rails-0.1.0 lib/sht_rails.rb