Sha256: 3428f9857e9150d755509a59a20e99a37a71397984f6d58641ee531f48d09d33

Contents?: true

Size: 182 Bytes

Versions: 1

Compression:

Stored size: 182 Bytes

Contents

hash = Hash.new do |hash, key|
  hash[key] = Hash.new do |patterns_hash, pattern|
    patterns_hash[pattern] = {:blah => 'foo'}
  end
end
hash =  hash['thing']['whatever']

puts hash

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mirage-2.0.8 test.rb