Module: RailsHttpPreload

Defined in:
lib/rails_http_preload.rb,
lib/rails_http_preload/railtie.rb,
lib/rails_http_preload/version.rb,
lib/rails_http_preload/middleware.rb

Defined Under Namespace

Classes: Configuration, Error, Middleware, Railtie

Constant Summary collapse

VERSION =
"0.3.0"

Class Method Summary collapse

Class Method Details

.configObject



10
11
12
# File 'lib/rails_http_preload.rb', line 10

def self.config
  @config ||= Configuration.new
end

.configure {|@config| ... } ⇒ Object

Yields:



14
15
16
# File 'lib/rails_http_preload.rb', line 14

def self.configure
  yield @config
end