module Dynflow::Clock::Timer
Public Class Methods
[](*fields)
click to toggle source
Calls superclass method
# File lib/dynflow/clock.rb, line 17 def self.[](*fields) super(*fields).tap { |v| Match! v.who, -> who { who.respond_to? v.where } } end
Public Instance Methods
<=>(other)
click to toggle source
# File lib/dynflow/clock.rb, line 23 def <=>(other) Type! other, self.class self.when <=> other.when end
apply()
click to toggle source
# File lib/dynflow/clock.rb, line 36 def apply if Algebrick::Some[Object] === what who.send where, what.value else who.send where end end
eql?(other)
click to toggle source
# File lib/dynflow/clock.rb, line 28 def eql?(other) object_id == other.object_id end
hash()
click to toggle source
# File lib/dynflow/clock.rb, line 32 def hash object_id end