Class: Fiber
- Inherits:
-
Object
- Object
- Fiber
- Defined in:
- lib/actuator/fiber.rb
Instance Attribute Summary collapse
-
#is_root ⇒ Object
writeonly
Sets the attribute is_root.
-
#job ⇒ Object
Returns the value of attribute job.
-
#last_job ⇒ Object
Returns the value of attribute last_job.
Instance Method Summary collapse
Instance Attribute Details
#is_root=(value) ⇒ Object (writeonly)
Sets the attribute is_root
5 6 7 |
# File 'lib/actuator/fiber.rb', line 5 def is_root=(value) @is_root = value end |
#job ⇒ Object
Returns the value of attribute job.
4 5 6 |
# File 'lib/actuator/fiber.rb', line 4 def job @job end |
#last_job ⇒ Object
Returns the value of attribute last_job.
4 5 6 |
# File 'lib/actuator/fiber.rb', line 4 def last_job @last_job end |
Instance Method Details
#root? ⇒ Boolean
11 12 13 |
# File 'lib/actuator/fiber.rb', line 11 def root? @is_root end |