RubyGems Navigation menu

hash_struct 0.3

HashStruct is similar to Struct from Ruby standard library, the difference is that HashStruct.generate creates a class which takes a hash with attributes rather than just positional arguments as Struct.new does.

Versions:

  1. 0.3 - November 28, 2009 (4.5 KB)
  2. 0.2 - November 28, 2009 (4.5 KB)
  3. 0.1 - November 28, 2009 (4 KB)

Authors:

  • Jakub Šťastný aka Botanicus

Owners:

6fd5b06afa330ac57065bd83844719c3

Total downloads 4,961

For this version 1,868

Required Ruby Version: None

Licenses:

N/A

Gemfile:
gem 'hash_struct', '~> 0.3' = Copy to clipboard Copied!

install:
gem install hash_struct = Copy to clipboard Copied!

Links: