Class: Cfan122::Reloader

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

Instance Method Summary collapse

Constructor Details

#initialize(top) ⇒ Reloader

Returns a new instance of Reloader.



40
41
42
# File 'lib/cfan122.rb', line 40

def initialize(top)
  @top = top
end

Instance Method Details

#reloadObject



44
45
46
47
# File 'lib/cfan122.rb', line 44

def reload
  cleanup
  load_all
end