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: 78,857 of 180,689
Downloads: 10,136

Daily

Ranking: 54,270 of 180,681
Downloads: 5

Depended by

RankDownloadsName

Depends on

RankDownloadsName
12,105,896,669bundler
16862,884,664rake
24772,514,050rspec

Owners

#GravatarHandle
1iconbuzzyrobin