RubyGems.org

hashblock

0.1.0

Sometimes you'll want to allow the user to configure a plugin or some other object via a ruby block where options are specified through method calls. Hashblock is a tool which converts either a hash or a block into a plain old ruby object that is simple to access and modify. Hashblock supports deep nesting and collision handling (since a block can contain multiple invokations of the same method)

installgem install hashblock
Authors

Nathan Ladd

1,343 total downloads 692 for this version
Owners

96b74110a0fd4ea12664cafc1cb6bcad

Gemfile
gem "hashblock", "~> 0.1.0"
Versions
  1. 0.1.0 July 26, 2011
  2. 0.0.1 July 26, 2011
Development Dependencies
  1. bluecloth >= 0
  2. shoulda >= 0