class Aygabtu::RouteMark

Attributes

action[R]
checkpoint[R]
poc[R]

Public Class Methods

new(action, poc, checkpoint) click to toggle source
# File lib/aygabtu/route_mark.rb, line 4
def initialize(action, poc, checkpoint)
  @action, @poc, @checkpoint = action, poc, checkpoint
end

Public Instance Methods

conflicting?(other) click to toggle source
# File lib/aygabtu/route_mark.rb, line 9
def conflicting?(other)
  !(action == :visit && other.action == :visit)
end
description() click to toggle source
# File lib/aygabtu/route_mark.rb, line 13
def description
  "#{action} action at #{poc} (CP #{checkpoint})"
end