RubyGems Navigation menu

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

7b1d5a5280e3d92a22a797cffca2ec8ed3d1a3aea988724822c29e1491631e5a

Total downloads 10,095

For this version 3,358

License:

Apache 2.0

Required Ruby Version: ~> 2.0

Links: