In Files

Methods

Class Index [+]

Quicksearch

When::Parts::Enumerator::Array

時間位置の Array を順に取り出す Enumerator

Public Class Methods

new(*args) click to toggle source

オブジェクトの生成

  list      : [When::TM::(Temporal)Position]
    順に取り出す時間位置の Array
  direction : :forward or :reverse
    :forward - 昇順
    :reverse - 降順
  count_limit : Integer
    繰り返し回数(デフォルトは指定なし)
      # File when/parts.rb, line 1263
1263:       def initialize(*args)
1264:         list, direction, *args = args
1265:         raise ArgumentError, "Too few arguments" unless list
1266:         @initial_list = self.class._sort(list, direction||:forward)
1267:         super(@initial_list[0], direction, *args)
1268:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.