Module: RenderAsync

Defined in:
lib/render_async.rb,
lib/render_async/engine.rb,
lib/render_async/version.rb,
lib/render_async/view_helper.rb,
lib/render_async/configuration.rb

Defined Under Namespace

Modules: ViewHelper Classes: Configuration, Engine

Constant Summary collapse

VERSION =
"2.0.2".freeze

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



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

def configuration
  @configuration
end

Class Method Details

.configure {|configuration| ... } ⇒ Object

Yields:



21
22
23
# File 'lib/render_async.rb', line 21

def self.configure
  yield(configuration)
end

.resetObject



17
18
19
# File 'lib/render_async.rb', line 17

def self.reset
  @configuration = RenderAsync::Configuration.new
end