Class: Array
- Inherits:
-
Object
- Object
- Array
- Defined in:
- lib/cassandra/array.rb
Instance Method Summary collapse
Instance Method Details
#_flatten_once ⇒ Object
3 4 5 6 7 |
# File 'lib/cassandra/array.rb', line 3 def _flatten_once result = [] each { |el| result.concat(Array(el)) } result end |