Class: Thread

Inherits:
Object
  • Object
show all
Defined in:
lib/eldritch/core_ext/thread.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#eldritch_groupObject



5
6
7
# File 'lib/eldritch/core_ext/thread.rb', line 5

def eldritch_group
  @eldritch_group ||= Eldritch::NilGroup.new
end

#eldritch_taskObject

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

Returns:

  • (Boolean)


9
10
11
# File 'lib/eldritch/core_ext/thread.rb', line 9

def in_eldritch_group?
  !eldritch_group.nil?
end