Class: Array

Inherits:
Object
  • Object
show all
Defined in:
lib/cassandra/array.rb

Instance Method Summary collapse

Instance Method Details

#_flatten_onceObject



3
4
5
6
7
# File 'lib/cassandra/array.rb', line 3

def _flatten_once
  result = []
  each { |el| result.concat(Array(el)) }
  result
end