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
-
0.1.0
-
source
- 0.1.0 source July 26, 2011 (7 KB)
-
-
0.0.1
-
source
- 0.0.1 source July 26, 2011 (4.5 KB)
-