diff options
author | Yuki Nishijima <yk.nishijima@gmail.com> | 2021-12-22 20:29:18 +0900 |
---|---|---|
committer | Yuki Nishijima <yk.nishijima@gmail.com> | 2021-12-22 20:29:18 +0900 |
commit | ac4e0978ee4358430396403065eabe1aca05784f (patch) | |
tree | d40cd51abf97cb03a4c5ed9c3da89dbc5b9e7128 /lib/did_you_mean/formatter.rb | |
parent | fdf39963490cf2cf95b30d91bb9b35964c2c2350 (diff) |
* gems/default_gems: Sync did_you_mean
Diffstat (limited to 'lib/did_you_mean/formatter.rb')
-rw-r--r-- | lib/did_you_mean/formatter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/did_you_mean/formatter.rb b/lib/did_you_mean/formatter.rb index 01eb59100a..02c0bc75d3 100644 --- a/lib/did_you_mean/formatter.rb +++ b/lib/did_you_mean/formatter.rb @@ -26,7 +26,7 @@ module DidYouMean # # # => nil # - def message_for(corrections) + def self.message_for(corrections) corrections.empty? ? "" : "\nDid you mean? #{corrections.join("\n ")}" end end |