class Child
Public Class Methods
new(action_name, state)
click to toggle source
Calls superclass method
Person::new
# File activesupport/test/callback_inheritance_test.rb, line 53 def initialize(action_name, state) super(action_name) @state = state end
Public Instance Methods
state_open?()
click to toggle source
# File activesupport/test/callback_inheritance_test.rb, line 49 def state_open? @state == :open end