RubyGems Navigation menu

hash_initialized_struct 1.1.0

Struct, except it takes a Hash on object initialization. class Point < HashInitializedStruct.new(:x, :y); end; Point.new(x: 1, y: 2)

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 1.3.0 - April 07, 2015 (7.5 KB)
  2. 1.2.0 - April 07, 2015 (7.5 KB)
  3. 1.1.0 - April 07, 2015 (7.5 KB)
  4. 1.0.0 - February 04, 2015 (7 KB)

Development Dependencies (3):

bundler ~> 1.6
rake ~> 10.0
rspec ~> 3.2

Owners:

Authors:

  • Rob Howard

SHA 256 checksum:

404471420e6079558d9f29475dad628cbb5a51e8c2d4902c21256a10f404c2f5

Total downloads 10,193

For this version 2,230

License:

Apache 2.0

Required Ruby Version: >= 0

Links: