Class: Rack::Reloader::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/rack/reloader.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig



6
7
8
9
# File 'lib/rack/reloader.rb', line 6

def initialize
  @interval = 5000
  @ajax     = false
end

Instance Attribute Details

#ajaxObject

Returns the value of attribute ajax.



4
5
6
# File 'lib/rack/reloader.rb', line 4

def ajax
  @ajax
end

#intervalObject

Returns the value of attribute interval.



4
5
6
# File 'lib/rack/reloader.rb', line 4

def interval
  @interval
end