Sha256: cff9994e422003c72216fbdab8226a617b849ffd05f8b4a35a83d25a52a7753f

Contents?: true

Size: 73 Bytes

Versions: 6

Compression:

Stored size: 73 Bytes

Contents

class Array
  def to_h
    Hash[to_a]
  end unless respond_to? :to_h
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
asciidoctor-pdf-1.5.0.alpha.6 lib/asciidoctor-pdf/core_ext/array.rb
asciidoctor-pdf-1.5.0.alpha.5 lib/asciidoctor-pdf/core_ext/array.rb
asciidoctor-pdf-1.5.0.alpha.4 lib/asciidoctor-pdf/core_ext/array.rb
asciidoctor-pdf-1.5.0.alpha.3 lib/asciidoctor-pdf/core_ext/array.rb
asciidoctor-pdf-1.5.0.alpha.2 lib/asciidoctor-pdf/core_ext/array.rb
asciidoctor-pdf-1.5.0.alpha.1 lib/asciidoctor-pdf/core_ext/array.rb