Module: KeepAlive

Defined in:
lib/keep_alive.rb,
lib/keep_alive/config.rb,
lib/keep_alive/engine.rb,
lib/keep_alive/version.rb,
lib/keep_alive/action_dispatch.rb,
app/controllers/keep_alive_controller.rb,
app/controllers/keep_alive/keep_alive_controller.rb

Defined Under Namespace

Modules: ActionDispatch Classes: Config, Engine, KeepAliveController

Constant Summary collapse

VERSION =
"0.0.1"

Class Method Summary collapse

Class Method Details

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

Yields:



6
7
8
9
10
# File 'lib/keep_alive.rb', line 6

def self.config
  @config ||= KeepAlive::Config.new
  yield(@config) if block_given?
  @config
end