Class: QuartzTorrent::Reactor::InternalTimerInfo
- Inherits:
-
Object
- Object
- QuartzTorrent::Reactor::InternalTimerInfo
- Defined in:
- lib/quartz_torrent/reactor.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(type, data) ⇒ InternalTimerInfo
constructor
A new instance of InternalTimerInfo.
Constructor Details
#initialize(type, data) ⇒ InternalTimerInfo
Returns a new instance of InternalTimerInfo.
384 385 386 387 |
# File 'lib/quartz_torrent/reactor.rb', line 384 def initialize(type, data) @type = type @data = data end |
Instance Attribute Details
#data ⇒ Object
Returns the value of attribute data.
389 390 391 |
# File 'lib/quartz_torrent/reactor.rb', line 389 def data @data end |
#type ⇒ Object
Returns the value of attribute type.
388 389 390 |
# File 'lib/quartz_torrent/reactor.rb', line 388 def type @type end |