Class: Array

Inherits:
Object show all
Defined in:
lib/burlap/core_ext/array.rb

Direct Known Subclasses

Burlap::Array

Instance Method Summary collapse

Instance Method Details

#to_burlapObject



2
3
4
5
6
# File 'lib/burlap/core_ext/array.rb', line 2

def to_burlap
  # We use the splat here so it creates an array with our elements,
  # rather than an array containing an array of our elements
  Burlap::Array[*to_a].to_burlap
end