RubyGems Navigation menu

hash_initialized_struct 1.2.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:

6da7b5cd7f2c38f1278065225fd6ddcbfa3bb39ea8c055c09ef9a2f52db81ff5

Total downloads 10,197

For this version 2,248

License:

Apache 2.0

Required Ruby Version: >= 0

Links: