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,890 of 198,526
Downloads: 11,534

Daily

Ranking: 43,320 of 198,451
Downloads: 8

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,949,298,765bundler
81,464,598,461rake
291,041,068,368rspec

Owners

#GravatarHandle
1iconbuzzyrobin