Sha256: e0c4cc05b58e7b1a17fe4ad49e909ccdf06a5b749ef933bdcb607b15cb1c2085

Contents?: true

Size: 128 Bytes

Versions: 1

Compression:

Stored size: 128 Bytes

Contents

class OpenStruct
  def [](name)
    @table[name.to_sym]
  end

  def []=(name, value)
    @table[name.to_sym] = value
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
travis-core-0.0.1 lib/core_ext/ostruct/hash_access.rb