Sha256: 27311d17290325b4de1f6bc21d8ce7ab876872e24f58a5838f254a917a44ebe5

Contents?: true

Size: 138 Bytes

Versions: 3

Compression:

Stored size: 138 Bytes

Contents

class Hej
  attr_accessor :values

  def []=(key, v)
    self.values = *v
  end
end

h = Hej.new
h[:koo] = 1
puts "h: #{h.values.inspect}"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
neo4j-core-3.0.0.alpha.9 lib/test.rb
neo4j-core-3.0.0.alpha.8 lib/test.rb
neo4j-core-3.0.0.alpha.7 lib/test.rb