RubyGems Navigation menu

multi_block 1.0

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.

Gemfile:
= 复制到剪贴板 已复制!

安装:
=

版本列表:

  1. 1.2 - November 18, 2021 (9.5 KB)
  2. 1.1 - March 20, 2015 (8.0 KB)
  3. 1.0 - October 24, 2011 (6.5 KB)

Runtime 依赖 (1):

named_proc >= 0

Development 依赖 (2):

rspec >= 0
rspec-core >= 0

业主:

作者:

  • Jan Lelis

SHA 256 校验和:

40ffd2535d46b9027e54e2a71f4b3a1b77c8a1bee2ae5e65a723a1c30ad2707d

下载总量 7,745

这个版本 3,284

许可:

需要的 Ruby 版本: >= 1.9.2

链接: