Class: Timer::Abstruct
- Inherits:
-
Object
- Object
- Timer::Abstruct
- Defined in:
- lib/skype/os/timer.rb
Instance Attribute Summary collapse
-
#block ⇒ Object
readonly
Returns the value of attribute block.
-
#term ⇒ Object
readonly
Returns the value of attribute term.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#block ⇒ Object (readonly)
Returns the value of attribute block.
53 54 55 |
# File 'lib/skype/os/timer.rb', line 53 def block @block end |
#term ⇒ Object (readonly)
Returns the value of attribute term.
53 54 55 |
# File 'lib/skype/os/timer.rb', line 53 def term @term end |
Class Method Details
.delete(instance) ⇒ Object
42 43 44 |
# File 'lib/skype/os/timer.rb', line 42 def delete instance @stack.delete instance end |
.new(term, block) ⇒ Object
36 37 38 39 40 |
# File 'lib/skype/os/timer.rb', line 36 def new term, block instance = super @stack << instance return instance end |
Instance Method Details
#delete ⇒ Object
49 50 51 |
# File 'lib/skype/os/timer.rb', line 49 def delete self.class.delete self end |