Sha256: b9c6fead186bf0f0d140f174aa58f27f0b431b9925a6b86c1122400498bc0e83

Contents?: true

Size: 201 Bytes

Versions: 5

Compression:

Stored size: 201 Bytes

Contents

class OpenStruct
  def [] key
    send key
  end unless respond_to? :[]

  def []= key, val
    send %(#{key}=), val
  end unless respond_to? :[]=
end if RUBY_ENGINE == 'rbx' || RUBY_VERSION < '2.0.0'

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
asciidoctor-pdf-1.5.0.alpha.12 lib/asciidoctor-pdf/core_ext/ostruct.rb
asciidoctor-pdf-1.5.0.alpha.11 lib/asciidoctor-pdf/core_ext/ostruct.rb
asciidoctor-pdf-1.5.0.alpha.10 lib/asciidoctor-pdf/core_ext/ostruct.rb
asciidoctor-pdf-1.5.0.alpha.9 lib/asciidoctor-pdf/core_ext/ostruct.rb
asciidoctor-pdf-1.5.0.alpha.8 lib/asciidoctor-pdf/core_ext/ostruct.rb