Class: Rack::Reloader::Config
- Inherits:
-
Object
- Object
- Rack::Reloader::Config
- Defined in:
- lib/rack/reloader.rb
Instance Attribute Summary collapse
-
#ajax ⇒ Object
Returns the value of attribute ajax.
-
#interval ⇒ Object
Returns the value of attribute interval.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
6 7 8 9 |
# File 'lib/rack/reloader.rb', line 6 def initialize @interval = 5000 @ajax = false end |
Instance Attribute Details
#ajax ⇒ Object
Returns the value of attribute ajax.
4 5 6 |
# File 'lib/rack/reloader.rb', line 4 def ajax @ajax end |
#interval ⇒ Object
Returns the value of attribute interval.
4 5 6 |
# File 'lib/rack/reloader.rb', line 4 def interval @interval end |