Categories: None [Edit]

hash_initialized_struct

https://rubygems.org/gems/hash_initialized_struct
https://github.com/damncabbage/hash_initialized_struct
Struct, except it takes a Hash on object initialization. class Point < HashInitializedStruct.new(:x, :y); end; Point.new(x: 1, y: 2)

Total

Ranking: 84,704 of 197,814
Downloads: 11,501

Daily

Ranking: 75,212 of 197,776
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,871,252,601bundler
81,446,323,461rake
291,032,900,231rspec

Owners

#GravatarHandle
1iconbuzzyrobin