summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/did_you_mean.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/did_you_mean.rb b/lib/did_you_mean.rb
index 7b069935c4..2df238da06 100644
--- a/lib/did_you_mean.rb
+++ b/lib/did_you_mean.rb
@@ -139,7 +139,7 @@ module DidYouMean
# Returns the currently set formatter. By default, it is set to +DidYouMean::Formatter+.
def self.formatter
- if defined?(Reactor)
+ if defined?(Ractor)
Ractor.current[:__did_you_mean_formatter__] || Formatter
else
Formatter
@@ -148,7 +148,7 @@ module DidYouMean
# Updates the primary formatter used to format the suggestions.
def self.formatter=(formatter)
- if defined?(Reactor)
+ if defined?(Ractor)
Ractor.current[:__did_you_mean_formatter__] = formatter
end
end