Class: CRuby::Event::BEvt
- Inherits:
-
Object
- Object
- CRuby::Event::BEvt
- Defined in:
- lib/cruby/event.rb
Instance Attribute Summary collapse
-
#blockFn ⇒ Object
readonly
Returns the value of attribute blockFn.
-
#doFn ⇒ Object
readonly
Returns the value of attribute doFn.
-
#pollFn ⇒ Object
readonly
Returns the value of attribute pollFn.
Instance Method Summary collapse
-
#initialize(pollFn, doFn, blockFn) ⇒ BEvt
constructor
A new instance of BEvt.
Constructor Details
#initialize(pollFn, doFn, blockFn) ⇒ BEvt
Returns a new instance of BEvt.
6 7 8 9 10 |
# File 'lib/cruby/event.rb', line 6 def initialize (pollFn, doFn, blockFn) @pollFn = pollFn @doFn = doFn @blockFn = blockFn end |
Instance Attribute Details
#blockFn ⇒ Object (readonly)
Returns the value of attribute blockFn.
5 6 7 |
# File 'lib/cruby/event.rb', line 5 def blockFn @blockFn end |
#doFn ⇒ Object (readonly)
Returns the value of attribute doFn.
5 6 7 |
# File 'lib/cruby/event.rb', line 5 def doFn @doFn end |
#pollFn ⇒ Object (readonly)
Returns the value of attribute pollFn.
5 6 7 |
# File 'lib/cruby/event.rb', line 5 def pollFn @pollFn end |