Sha256: b878bbd1e4cc5a19ae621adb6e8d98b8544cbef4dada13923d332930fc551a5b

Contents?: true

Size: 130 Bytes

Versions: 6

Compression:

Stored size: 130 Bytes

Contents

class OpenStruct
  def [] key
    send key
  end

  def []= key, val
    send %(#{key}=), val
  end
end if RUBY_VERSION < '2.0.0'

Version data entries

6 entries across 6 versions & 1 rubygems

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