Sha256: 2d407c0a1bee6424a870a9132ab10389eee6bc2c7a709c1ffc038e6e09cf3a18
Contents?: true
Size: 699 Bytes
Versions: 4
Compression:
Stored size: 699 Bytes
Contents
require "elrte/version" require 'elrte/application' require 'elrte/engine' module Elrte autoload :DependencyChecker, 'elrte/dependency_checker' class << self attr_accessor :application def application @application ||= ::Elrte::Application.new end # Gets called within the initializer def setup application = Elrte::Application.new application.register_default_assets end delegate :routes, :to => :application # Returns true if this rails application has the asset # pipeline enabled. def use_asset_pipeline? DependencyChecker.rails_3_1? && Rails.application.config.try(:assets).try(:enabled) end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
elrte-0.0.5 | lib/elrte.rb |
elrte-0.0.4 | lib/elrte.rb |
elrte-0.0.3 | lib/elrte.rb |
elrte-0.0.1 | lib/elrte.rb |