From 0d4bfbdbe1f880c712b3e60de5fce423e6096f8d Mon Sep 17 00:00:00 2001 From: Yuki Nishijima Date: Wed, 22 Dec 2021 21:02:00 +0900 Subject: [PATCH] * gems/default_gems: Fix typos --- lib/did_you_mean.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/did_you_mean.rb b/lib/did_you_mean.rb index 7b069935c4..2df238da06 100644 --- a/lib/did_you_mean.rb +++ b/lib/did_you_mean.rb @@ -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