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.
10 11 12 |
# File 'lib/rbgo/corun.rb', line 10 def error @error end |
Instance Method Details
#alive? ⇒ Boolean
12 13 14 15 |
# File 'lib/rbgo/corun.rb', line 12 def alive? return fiber.alive? unless fiber.nil? true end |