Class: Thread
- Inherits:
-
Object
- Object
- Thread
- Defined in:
- lib/eldritch/core_ext/thread.rb
Instance Attribute Summary collapse
- #eldritch_group ⇒ Object
-
#eldritch_task ⇒ Object
Returns the value of attribute eldritch_task.
Instance Method Summary collapse
Instance Attribute Details
#eldritch_group ⇒ Object
5 6 7 |
# File 'lib/eldritch/core_ext/thread.rb', line 5 def eldritch_group @eldritch_group ||= Eldritch::NilGroup.new end |
#eldritch_task ⇒ Object
Returns the value of attribute eldritch_task.
3 4 5 |
# File 'lib/eldritch/core_ext/thread.rb', line 3 def eldritch_task @eldritch_task end |
Instance Method Details
#in_eldritch_group? ⇒ Boolean
9 10 11 |
# File 'lib/eldritch/core_ext/thread.rb', line 9 def in_eldritch_group? !eldritch_group.nil? end |