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.1.7 lib/timber/frameworks.rb
timber-2.1.6 lib/timber/frameworks.rb
timber-2.1.5 lib/timber/frameworks.rb
timber-2.1.4 lib/timber/frameworks.rb
timber-2.1.3 lib/timber/frameworks.rb
timber-2.1.2 lib/timber/frameworks.rb
timber-2.1.1 lib/timber/frameworks.rb
timber-2.1.0 lib/timber/frameworks.rb
timber-2.1.0.rc6 lib/timber/frameworks.rb
timber-2.1.0.rc5 lib/timber/frameworks.rb
timber-2.1.0.rc4 lib/timber/frameworks.rb
timber-2.1.0.rc3 lib/timber/frameworks.rb
timber-2.1.0.rc2 lib/timber/frameworks.rb
timber-2.1.0.rc1 lib/timber/frameworks.rb
timber-2.0.24 lib/timber/frameworks.rb
timber-2.0.23 lib/timber/frameworks.rb
timber-2.0.22 lib/timber/frameworks.rb
timber-2.0.21 lib/timber/frameworks.rb