Sha256: 11bc1cbe75221a7277408edd2b0919997601bdf3bacec0c7c59c50d98209b15d

Contents?: true

Size: 301 Bytes

Versions: 2

Compression:

Stored size: 301 Bytes

Contents

module TemplateSwitcher
  class << self
    def mapping
      @mapping
    end

    def mapping=(mapping = {})
      @mapping = mapping
    end
  end
end

begin
  require "rails"
rescue LoadError
  # do nothing
end

require "template_switcher/auto_render_switcher"
require "template_switcher/railtie"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
template-switcher-0.0.2 lib/template_switcher.rb
template-switcher-0.0.1 lib/template_switcher.rb