class CallbacksTest::AroundPerson

Public Instance Methods

nope() click to toggle source
# File activesupport/test/callbacks_test.rb, line 284
def nope
  @history << "boom"
end
tweedle() click to toggle source
# File activesupport/test/callbacks_test.rb, line 309
def tweedle
  @history << "tweedle"
end
tweedle_deedle() { || ... } click to toggle source
# File activesupport/test/callbacks_test.rb, line 313
def tweedle_deedle
  @history << "tweedle deedle pre"
  yield
  @history << "tweedle deedle post"
end
tweedle_dum() { || ... } click to toggle source
# File activesupport/test/callbacks_test.rb, line 303
def tweedle_dum
  @history << "tweedle dum pre"
  yield
  @history << "tweedle dum post"
end
w0tno() { || ... } click to toggle source
# File activesupport/test/callbacks_test.rb, line 298
def w0tno
  @history << "boom"
  yield
end
w0tyes() { || ... } click to toggle source
# File activesupport/test/callbacks_test.rb, line 292
def w0tyes
  @history << "w0tyes before"
  yield
  @history << "w0tyes after"
end
yup() click to toggle source
# File activesupport/test/callbacks_test.rb, line 288
def yup
  @history << "yup"
end