RubyGems Navigation menu

block-chainable 0.1.1

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:

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)

Authors:

  • Drew Olson

Owners:

94cc3e46cfc5bc361e409e2e884ecfa4

Total downloads 10,939

For this version 2,317

Required Ruby Version: None

Licenses:

N/A

Gemfile:
gem 'block-chainable', '~> 0.1.1' = Copy to clipboard Copied!

install:
gem install block-chainable = Copy to clipboard Copied!

Links: