Class: Fiber

Inherits:
Object
  • Object
show all
Defined in:
lib/actuator/fiber.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#is_root=(value) ⇒ Object (writeonly)

Sets the attribute is_root

Parameters:

  • value

    the value to set the attribute is_root to.



5
6
7
# File 'lib/actuator/fiber.rb', line 5

def is_root=(value)
  @is_root = value
end

#jobObject

Returns the value of attribute job.



4
5
6
# File 'lib/actuator/fiber.rb', line 4

def job
  @job
end

#last_jobObject

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

Returns:

  • (Boolean)


11
12
13
# File 'lib/actuator/fiber.rb', line 11

def root?
  @is_root
end