class Object

Public Instance Methods

current_tags() click to toggle source
# File lib/dry/effects/extensions/active_support/tagged_logging.rb, line 6
def current_tags
  thread_key = @thread_key ||= "activesupport_tagged_logging_tags:#{object_id}"
  unless Thread.current.thread_variable_get(thread_key)
    Thread.current.thread_variable_set(thread_key, [])
  end
  Thread.current.thread_variable_get(thread_key)
end
run_specs(*) click to toggle source
Calls superclass method
# File lib/dry/effects/extensions/rspec.rb, line 18
def run_specs(*)
  run_with_data(RSpec::Support.thread_local_data) { super }
end
thread_local_data() click to toggle source
Calls superclass method
# File lib/dry/effects/extensions/rspec.rb, line 10
def thread_local_data
  effect_local_data { super }
end