End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
class method
DidYouMean.formatter
formatter
lib/did_you_mean.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/lib/did_you_mean.rb, line 141
def self.formatter
if defined?(Ractor)
Ractor.current[:__did_you_mean_formatter__] || Formatter
else
Formatter
end
end
Returns the currently set formatter. By default, it is set to DidYouMean::Formatter.