Sha256: d8d8a1ced1fbc6097c7de8dba4a7bd743c21099c6d567720f61d0f94e138d44a

Contents?: true

Size: 206 Bytes

Versions: 1

Compression:

Stored size: 206 Bytes

Contents

class Array
  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
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
burlap-1.0.0 lib/burlap/core_ext/array.rb