Class: SleepyPenguin::Kevent
- Inherits:
-
Struct
- Object
- Struct
- SleepyPenguin::Kevent
- Defined in:
- lib/sleepy_penguin/kevent.rb
Overview
This class represents a “struct kevent” structure for Ruby. This may be passed to Kqueue::IO#kevent as either a single element or as an element inside an array to inject changes into the kevent list.
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
-
#fflags ⇒ Object
Returns the value of attribute fflags.
-
#filter ⇒ Object
Returns the value of attribute filter.
-
#flags ⇒ Object
Returns the value of attribute flags.
-
#ident ⇒ Object
Returns the value of attribute ident.
-
#udata ⇒ Object
Returns the value of attribute udata.
Instance Attribute Details
#data ⇒ Object
Returns the value of attribute data
5 6 7 |
# File 'lib/sleepy_penguin/kevent.rb', line 5 def data @data end |
#fflags ⇒ Object
Returns the value of attribute fflags
5 6 7 |
# File 'lib/sleepy_penguin/kevent.rb', line 5 def fflags @fflags end |
#filter ⇒ Object
Returns the value of attribute filter
5 6 7 |
# File 'lib/sleepy_penguin/kevent.rb', line 5 def filter @filter end |
#flags ⇒ Object
Returns the value of attribute flags
5 6 7 |
# File 'lib/sleepy_penguin/kevent.rb', line 5 def flags @flags end |
#ident ⇒ Object
Returns the value of attribute ident
5 6 7 |
# File 'lib/sleepy_penguin/kevent.rb', line 5 def ident @ident end |
#udata ⇒ Object
Returns the value of attribute udata
5 6 7 |
# File 'lib/sleepy_penguin/kevent.rb', line 5 def udata @udata end |