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:
parent
2c31f325f5
commit
0d4bfbdbe1
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue