Operator
Inherits Enum < Comparable < Value < Object
Constants
Let = 0
unary mode operators
Mut = 1
Ref = 2
Move = 3
Copy = 4
Neg = 5
math
Add = 6
Sub = 7
Mul = 8
Div = 9
Mod = 10
Exp = 11
Not = 12
logical
And = 13
Or = 14
Is = 15
comparison
IsNot = 16
In = 17
NotIn = 18
Eq = 19
Neq = 20
Lt = 21
Le = 22
Gt = 23
Ge = 24
Comma = 25
special
Dot = 26
RArrow = 27
Assign = 28
assignment
AddAssign = 29
SubAssign = 30
MulAssign = 31
DivAssign = 32
ModAssign = 33
AndAssign = 34
OrAssign = 35
ExpAssign = 36
Class methods
Instance methods
compares?
Sourceprecedence_class
Sourceto_s
Returns a String representation of this enum member.
In the case of regular enums, this is just the name of the member.
In the case of flag enums, it's the names joined by vertical bars, or "None",
if the value is zero.
If an enum's value doesn't match a member's value, the raw value is returned as a string.
Color::Red.to_s # => "Red"
IOMode::None.to_s # => "None"
(IOMode::Read | IOMode::Write).to_s # => "Read | Write"
Color.new(10).to_s # => "10"
ucs_branch_op?
SourceMacros
assign
Source