Methods

Class Index [+]

Quicksearch

When::TM::Duration::Enumerator

Duration 用の Enumerator

Public Class Methods

new(*args) click to toggle source

オブジェクトの生成

  period : When::TM::Duration
    enumerate する時間間隔
     # File when/tmobjects.rb, line 520
520:       def initialize(*args)
521:         @period = args.shift
522:         super(*args)
523:       end

Public Instance Methods

succ() click to toggle source

次の時間位置を取得する

  returns : When::TM::TemporalPosition
    次の時間位置
     # File when/tmobjects.rb, line 509
509:       def succ
510:         value = @current
511:         @current = (@current==:first) ? @first : @current + @period
512:         return value
513:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.