If a C++ enum was converted to an ordinary ruby Integer, the name of the type is lost. The enum type name is needed for overloaded method resolution when two methods differ only by an enum type.
| Public Attributes | |
|---|---|
| type | |
| value | |
| Public Methods | |
|---|---|
| | | |
| % | |
| & | |
| * | |
| ** | |
| + | |
| - | |
| / | |
| < | |
| << | |
| <= | |
| == | |
| > | |
| >= | |
| >> | |
| ^ | |
| coerce | |
| inspect | |
| new | |
| pretty_ |
|
| to_ |
|
| to_ |
|
| to_ |
|
| ~ | |
<code/>and<pre/>for code samples.