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)

Required Ruby Version

None

Authors

Nathan Ladd

Versions

  1. 0.1.0 July 26, 2011 (7 KB)
  2. 0.0.1 July 26, 2011 (4.5 KB)

SHA 256 checksum