class ReloaderTest::MyBody
Public Class Methods
new(&block)
click to toggle source
# File actionpack/test/dispatch/reloader_test.rb, line 12 def initialize(&block) @on_close = block end
Public Instance Methods
bar()
click to toggle source
# File actionpack/test/dispatch/reloader_test.rb, line 20 def bar "bar" end
close()
click to toggle source
# File actionpack/test/dispatch/reloader_test.rb, line 24 def close @on_close.call if @on_close end
foo()
click to toggle source
# File actionpack/test/dispatch/reloader_test.rb, line 16 def foo "foo" end