* gems/default_gems: Fix typos
This commit is contained in:
parent
2c31f325f5
commit
0d4bfbdbe1
@ -139,7 +139,7 @@ module DidYouMean
|
|||||||
|
|
||||||
# Returns the currently set formatter. By default, it is set to +DidYouMean::Formatter+.
|
# Returns the currently set formatter. By default, it is set to +DidYouMean::Formatter+.
|
||||||
def self.formatter
|
def self.formatter
|
||||||
if defined?(Reactor)
|
if defined?(Ractor)
|
||||||
Ractor.current[:__did_you_mean_formatter__] || Formatter
|
Ractor.current[:__did_you_mean_formatter__] || Formatter
|
||||||
else
|
else
|
||||||
Formatter
|
Formatter
|
||||||
@ -148,7 +148,7 @@ module DidYouMean
|
|||||||
|
|
||||||
# Updates the primary formatter used to format the suggestions.
|
# Updates the primary formatter used to format the suggestions.
|
||||||
def self.formatter=(formatter)
|
def self.formatter=(formatter)
|
||||||
if defined?(Reactor)
|
if defined?(Ractor)
|
||||||
Ractor.current[:__did_you_mean_formatter__] = formatter
|
Ractor.current[:__did_you_mean_formatter__] = formatter
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user