Sha256: 8d029e10d708286de04c54d90c7b366364a3abeb54359b6dbed9757c002f3cd3

Contents?: true

Size: 381 Bytes

Versions: 38

Compression:

Stored size: 381 Bytes

Contents

require "logger"

# Attempt to require Rails. We can not list it as a gem
# dependency because we want to support multiple frameworks.
begin
  require "rails"
rescue LoadError
end

if defined?(::Rails) && defined?(::Rails::Railtie)
  require "timber/frameworks/rails"
end

module Timber
  # Namespace for installing Timber into frameworks
  # @private
  module Frameworks
  end
end

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
timber-2.6.2 lib/timber/frameworks.rb
timber-2.6.1 lib/timber/frameworks.rb
timber-2.6.0 lib/timber/frameworks.rb
timber-2.6.0.pre.beta2 lib/timber/frameworks.rb
timber-2.6.0.pre.beta1 lib/timber/frameworks.rb
timber-2.5.1 lib/timber/frameworks.rb
timber-2.5.0 lib/timber/frameworks.rb
timber-2.4.0 lib/timber/frameworks.rb
timber-2.3.4 lib/timber/frameworks.rb
timber-2.3.3 lib/timber/frameworks.rb
timber-2.3.2 lib/timber/frameworks.rb
timber-2.3.1 lib/timber/frameworks.rb
timber-2.3.0 lib/timber/frameworks.rb
timber-2.2.3 lib/timber/frameworks.rb
timber-2.2.2 lib/timber/frameworks.rb
timber-2.2.1 lib/timber/frameworks.rb
timber-2.2.0 lib/timber/frameworks.rb
timber-2.1.10 lib/timber/frameworks.rb
timber-2.1.9 lib/timber/frameworks.rb
timber-2.1.8 lib/timber/frameworks.rb