Class: CRuby::Event::BEvt

Inherits:
Object
  • Object
show all
Defined in:
lib/cruby/event.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#blockFnObject (readonly)

Returns the value of attribute blockFn.



5
6
7
# File 'lib/cruby/event.rb', line 5

def blockFn
  @blockFn
end

#doFnObject (readonly)

Returns the value of attribute doFn.



5
6
7
# File 'lib/cruby/event.rb', line 5

def doFn
  @doFn
end

#pollFnObject (readonly)

Returns the value of attribute pollFn.



5
6
7
# File 'lib/cruby/event.rb', line 5

def pollFn
  @pollFn
end