Class: Rbgo::CoRun::Routine
- Inherits:
-
Object
- Object
- Rbgo::CoRun::Routine
- Defined in:
- lib/rbgo/corun.rb
Instance Attribute Summary collapse
-
#error ⇒ Object
Returns the value of attribute error.
Instance Method Summary collapse
Instance Attribute Details
#error ⇒ Object
Returns the value of attribute error.
108 109 110 |
# File 'lib/rbgo/corun.rb', line 108 def error @error end |
Instance Method Details
#alive? ⇒ Boolean
110 111 112 113 |
# File 'lib/rbgo/corun.rb', line 110 def alive? return fiber.alive? unless fiber.nil? true end |