Sha256: 1a7cba1b0d18bc9169e74c352af529bb1feda8a476a68ac7af8885e7fde0952b

Contents?: true

Size: 55 Bytes

Versions: 17

Compression:

Stored size: 55 Bytes

Contents

class Array
  def to_h
    Hash[*flatten(1)]
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
xcake-0.8.13 lib/xcake/core_ext/array.rb
xcake-0.8.12 lib/xcake/core_ext/array.rb
xcake-0.8.10 lib/xcake/core_ext/array.rb
xcake-0.8.9 lib/xcake/core_ext/array.rb
xcake-0.8.8 lib/xcake/core_ext/array.rb
xcake-0.8.7 lib/xcake/core_ext/array.rb
xcake-0.8.6 lib/xcake/core_ext/array.rb
xcake-0.8.3 lib/xcake/core_ext/array.rb
xcake-0.8.1 lib/xcake/core_ext/array.rb
xcake-0.7.1 lib/xcake/core_ext/array.rb
xcake-0.7.0 lib/xcake/core_ext/array.rb
xcake-0.6.25 lib/xcake/core_ext/array.rb
xcake-0.6.24 lib/xcake/core_ext/array.rb
xcake-0.6.23 lib/xcake/core_ext/array.rb
xcake-0.6.22 lib/xcake/core_ext/array.rb
xcake-0.6.21 lib/xcake/core_ext/array.rb
xcake-0.6.20 lib/xcake/core_ext/array.rb