Class Poll::EventMask |
|
A Fixnum derivative that does bitwise AND for ===.
Methods |
Public Class methods |
new( mask ) |
Create and return a new Poll::EventMask object with the specified bitmask (an Integer).
Public Instance methods |
===( otherNum ) |
Returns true if the receiver bitwise ANDed with otherNum is non-zero. This is useful for using bitmasks in case blocks.
|( otherNum ) |
Returns a new EventMask after ORing the receiver with the specified value.
&( otherNum ) |
Returns a new EventMask after ANDing the receiver with the specified value.
^( otherNum ) |
Returns a new EventMask after XORing the receiver with the specified value.