class ExecutorTest::MyBody

Public Class Methods

new(&block) click to toggle source
# File actionpack/test/dispatch/executor_test.rb, line 7
def initialize(&block)
  @on_close = block
end

Public Instance Methods

bar() click to toggle source
# File actionpack/test/dispatch/executor_test.rb, line 15
def bar
  "bar"
end
close() click to toggle source
# File actionpack/test/dispatch/executor_test.rb, line 19
def close
  @on_close.call if @on_close
end
foo() click to toggle source
# File actionpack/test/dispatch/executor_test.rb, line 11
def foo
  "foo"
end