RubyGems.org

MultiBlock is a mini framework for passing multiple blocks to methods. It uses "named procs" to accomplish this in a nice way. The receiving method can either yield all blocks, or just call specific ones, identified by order or name.

installgem install multi_block
Authors

Jan Lelis

1,000 total downloads 1,000 for this version
Owners

901b686e3824cd357b169ac7ce431b1b

Gemfile
gem 'multi_block', '~> 1.0'
Versions
  1. 1.0 October 24, 2011 (6.5 KB)
Runtime Dependencies
  1. named_proc >= 0
Development Dependencies
  1. rspec >= 0
  2. rspec-core >= 0