1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* gems/default_gems: Fix typos

This commit is contained in:
Yuki Nishijima 2021-12-22 21:02:00 +09:00
parent 2c31f325f5
commit 0d4bfbdbe1

View file

@ -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