Module: Arrow::InputReferable

Included in:
Array, ChunkedArray, RecordBatch, Table
Defined in:
lib/arrow/input-referable.rb

Instance Method Summary collapse

Instance Method Details

#refer_input(input) ⇒ Object



20
21
22
# File 'lib/arrow/input-referable.rb', line 20

def refer_input(input)
  @input = input
end

#share_input(other) ⇒ Object



24
25
26
27
# File 'lib/arrow/input-referable.rb', line 24

def share_input(other)
  return unless defined?(@input)
  other.refer_input(@input)
end