enum

Traffic::IntersectionSignal

Inherits Enum < Comparable < Value < Object

Constants

GreenNS = 0
YellowNS = 1
GreenNSLeft = 2
YellowNSLeft = 3
GreenEW = 4
YellowEW = 5
GreenEWLeft = 6
YellowEWLeft = 7
AllRedNS = 8
AllRedEW = 9

Instance methods

all_red_ew?

Returns true if this enum value equals AllRedEW

Source
all_red_ns?

Returns true if this enum value equals AllRedNS

Source
green_ew?

Returns true if this enum value equals GreenEW

Source
green_ew_left?

Returns true if this enum value equals GreenEWLeft

Source
green_ns?

Returns true if this enum value equals GreenNS

Source
green_ns_left?

Returns true if this enum value equals GreenNSLeft

Source
yellow_ew?

Returns true if this enum value equals YellowEW

Source
yellow_ew_left?

Returns true if this enum value equals YellowEWLeft

Source
yellow_ns?

Returns true if this enum value equals YellowNS

Source
yellow_ns_left?

Returns true if this enum value equals YellowNSLeft

Source