In Files

Methods

Class Index [+]

Quicksearch

When::Parts::Enumerator::Integrated

複数の下位 Enumerator の結果を順に取り出す Enumerator

Public Class Methods

new(*args) click to toggle source

オブジェクトの生成

  enumerators : [When::Parts::Enumerator]
    結果を順に取り出す下位 Enumeratorの Array
  direction : :forward or :reverse
    :forward - 昇順
    :reverse - 降順
  count_limit : Integer
    繰り返し回数(デフォルトは指定なし)
      # File when/parts.rb, line 1313
1313:       def initialize(*args)
1314:         @enumerators = args.shift if (args[0].kind_of?(::Array))
1315:         raise ArgumentError, "Too few arguments" unless @enumerators
1316:         super(*args)
1317:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.