Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
class method
DidYouMean.formatter=
formatter=(formatter)
lib/did_you_mean.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/lib/did_you_mean.rb, line 126
def self.formatter=(formatter)
if defined?(Ractor)
Ractor.current[:__did_you_mean_formatter__] = formatter
end
end
Updates the primary formatter used to format the suggestions.