enum

Rbacr::Tier

Inherits Enum < Comparable < Value < Object

Constants

DIRECTOR = 1
MANAGER = 2
WORKER = 3

Instance methods

>(other : Tier) : Bool

Compares this object to other based on the receiver’s <=> method, returning true if it returns a value greater then 0.

Source
>=(other : Tier) : Bool

Compares this object to other based on the receiver’s <=> method, returning true if it returns a value equal or greater than 0.

Source
director?

Returns true if this enum value equals DIRECTOR

Source
manager?

Returns true if this enum value equals MANAGER

Source
managerial?
Source
worker?

Returns true if this enum value equals WORKER

Source