Methods
- E
- I
- M
- N
Class Public methods
new(block) Link
Source: show
# File activesupport/lib/active_support/callbacks.rb, line 482 def initialize(block) @override_block = block end
Instance Public methods
expand(target, value, block) Link
Source: show
# File activesupport/lib/active_support/callbacks.rb, line 486 def expand(target, value, block) raise ArgumentError unless block [target, @override_block || block, :instance_exec, target, block] end