RubyGems Navigation menu

status_enumerator 0.0.2

This class provides an enumeration function to have the object which I added tree information to in an argument. The instance receives an enumerable object and provides #each and #each_method. The #each method calls a block in an argument in own. The #each_method method calls the method of an object appointed own in an argument. I have the information of the object equal to the ancestors in own and front and back and hierarchy structure, and a block and the argument handed to a method maintain the state flag in the enumeration again. It is necessary to appoint the information about the descendant in the hierarchy structure in a block - a method explicitly. When the #into method receives an enumerable object, and a block is not exhibited, a block - a method is used recursively. This class provides a function to enumerate it, but it is not the object which it can enumerate.

Gemfile:
= クリップボードにコピー コピー完了!

インストール:
=

バージョン履歴:

  1. 0.0.3 - June 19, 2011 (10KB)
  2. 0.0.2 - May 30, 2011 (8.5KB)

Development依存関係 (5):

bundler ~> 1.0.0
jeweler ~> 1.6.0
rcov >= 0
rdoc >= 2.4.2
rspec ~> 2.3.0

所有者:

作者:

  • Keiichiro Nishi

SHA 256チェックサム:

a95c4e6a075f15640dbb442acbee8b534cfceb6b58483ae93e66d88f413c2a44

累計ダウンロード数 7,056

このバージョンのみ 2,975

ライセンス:

N/A

必要なRubyのバージョン: >= 1.8.7

リンク: