Class: RenderAsync::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/render_async/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



5
6
7
8
9
10
11
# File 'lib/render_async/configuration.rb', line 5

def initialize
  @jquery = false
  @turbolinks = false
  @turbo = false
  @replace_container = true
  @nonces = false
end

Instance Attribute Details

#jqueryObject

Returns the value of attribute jquery.



3
4
5
# File 'lib/render_async/configuration.rb', line 3

def jquery
  @jquery
end

#noncesObject

Returns the value of attribute nonces.



3
4
5
# File 'lib/render_async/configuration.rb', line 3

def nonces
  @nonces
end

#replace_containerObject

Returns the value of attribute replace_container.



3
4
5
# File 'lib/render_async/configuration.rb', line 3

def replace_container
  @replace_container
end

#turboObject

Returns the value of attribute turbo.



3
4
5
# File 'lib/render_async/configuration.rb', line 3

def turbo
  @turbo
end

Returns the value of attribute turbolinks.



3
4
5
# File 'lib/render_async/configuration.rb', line 3

def turbolinks
  @turbolinks
end