Sha256: 64c6fc17b53749ea324f04940e14435c018a0feaba0888de6394c27184d6b645

Contents?: true

Size: 382 Bytes

Versions: 49

Compression:

Stored size: 382 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

49 entries across 49 versions & 2 rubygems

Version Path
timber-2.0.20 lib/timber/frameworks.rb
timber-2.0.19 lib/timber/frameworks.rb
timber-2.0.17 lib/timber/frameworks.rb
timber-2.0.16 lib/timber/frameworks.rb
timber-2.0.15 lib/timber/frameworks.rb
timber-2.0.14 lib/timber/frameworks.rb
timber-2.0.12 lib/timber/frameworks.rb
timber-2.0.11 lib/timber/frameworks.rb
timber-2.0.10 lib/timber/frameworks.rb
timber-2.0.9 lib/timber/frameworks.rb
timber-2.0.8 lib/timber/frameworks.rb
timber-2.0.7 lib/timber/frameworks.rb
timber-2.0.6 lib/timber/frameworks.rb
timber-2.0.5 lib/timber/frameworks.rb
timber-2.0.4 lib/timber/frameworks.rb
timber-2.0.3 lib/timber/frameworks.rb
timber-2.0.2 lib/timber/frameworks.rb
timber-2.0.1 lib/timber/frameworks.rb
timber-2.0.0 lib/timber/frameworks.rb
timber-1.1.14 lib/timber/frameworks.rb