MCPcopy Create free account
hub / github.com/apache/arrow / each

Method each

ruby/red-arrow/lib/arrow/array.rb:98–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96 alias_method :size, :length
97
98 def each
99 return to_enum(__method__) unless block_given?
100
101 length.times do |i|
102 yield(self[i])
103 end
104 end
105
106 def reverse_each
107 return to_enum(__method__) unless block_given?

Callers 15

run-test.rbFile · 0.45
dump_tableMethod · 0.45
setupMethod · 0.45
test_delete_filesMethod · 0.45
test_lengthMethod · 0.45
test_n_nullsMethod · 0.45
build_list_arrayMethod · 0.45
build_map_arrayMethod · 0.45
build_struct_arrayMethod · 0.45
append_to_builderMethod · 0.45

Calls

no outgoing calls

Tested by 15

dump_tableMethod · 0.36
setupMethod · 0.36
test_delete_filesMethod · 0.36
test_lengthMethod · 0.36
test_n_nullsMethod · 0.36
build_list_arrayMethod · 0.36
build_map_arrayMethod · 0.36
build_struct_arrayMethod · 0.36
append_to_builderMethod · 0.36
build_tableMethod · 0.36