class Object

Public Instance Methods

autoreload(options={}, &block) click to toggle source

Reload features automatically at given intervals.

options - The Hash options used to refine the reloader (default: {}):

:interval - Seconds between updates.
:verbose  - True provides reload warning.
:reprime  - Include $0 in reload list.

Returns Thread that's taking care of reload loop.

# File lib/autoreload.rb, line 12
def autoreload(options={}, &block)
  AutoReload::Reloader.start(options, &block)
end