Class Poll::EventMask
In: lib/poll.rb
Parent: DelegateClass( Fixnum )

A Fixnum derivative that does bitwise AND for ===.

Methods

&   ===   ^   new   |  

Public Class methods

Create and return a new Poll::EventMask object with the specified bitmask (an Integer).

Public Instance methods

Returns a new EventMask after ANDing the receiver with the specified value.

Returns true if the receiver bitwise ANDed with otherNum is non-zero. This is useful for using bitmasks in case blocks.

Returns a new EventMask after XORing the receiver with the specified value.

Returns a new EventMask after ORing the receiver with the specified value.

[Validate]