class CountingParent
Attributes
count[R]
Public Class Methods
new()
click to toggle source
# File activesupport/test/callback_inheritance_test.rb, line 92 def initialize @count = 0 end
Public Instance Methods
count!()
click to toggle source
# File activesupport/test/callback_inheritance_test.rb, line 96 def count! @count += 1 end
dispatch()
click to toggle source
# File activesupport/test/callback_inheritance_test.rb, line 100 def dispatch run_callbacks(:dispatch) self end