class TableSync::Utils::ProcArray
Public Class Methods
new(&block)
click to toggle source
Calls superclass method
# File lib/table_sync/utils/proc_array.rb, line 4 def initialize(&block) @array = [] super(&block) end
Public Instance Methods
call(*args, &block)
click to toggle source
Calls superclass method
# File lib/table_sync/utils/proc_array.rb, line 14 def call(*args, &block) super(@array, args, &block) end
push(&block)
click to toggle source
# File lib/table_sync/utils/proc_array.rb, line 9 def push(&block) @array.push(block) self end