diff options
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 |