RubyGems.org

DESCRIPTION: BlockChainable is a module to aid in the creation of Domain Specific Languages using block structure. By including BlockChainable into your classes, you will be able to instantiate that class using the class name itself, followed by any parameters to be passed to initialize, followed by a block to be executed within the instantiated class. BlockChainable also allows methods to search up the chain of classes, meaning that although a block is executed in the scope of the instantiated class, any methods not found in the class but found in a class "up-scope" will be called successfully on the up-scope class. This chaining of method calls allows you to assert values within the blocks as well as calling any other methods from "up-scope" classes. == FEATURES/PROBLEMS:

installgem install block-chainable
Authors

Drew Olson

10,781 total downloads 2,284 for this version
Owners

94cc3e46cfc5bc361e409e2e884ecfa4

Gemfile
gem 'block-chainable', '~> 0.1.1'
Versions
  1. 0.1.1 May 23, 2008 (7 KB)
  2. 0.1.0 April 10, 2008 (7 KB)
  3. 0.0.3 March 27, 2008 (7 KB)
  4. 0.0.2 March 7, 2008 (6.5 KB)
  5. 0.0.1 February 29, 2008 (6 KB)