diff options
author | yuki <yuki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-22 17:30:22 +0000 |
---|---|---|
committer | yuki <yuki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-22 17:30:22 +0000 |
commit | 03cc02c9ab8ac0a20df044b8f8be03a0aca553eb (patch) | |
tree | 1b3cb068d9d8cbe7992a9f3ab94d9ada86acd548 /NEWS | |
parent | e6be17c74a42033e3f685456a0ab195e77620b8f (diff) |
* gems/bundled_gems: Upgrade the did_you_mean gem to 1.0.0
* NEWS: Add news about the did_you_mean gem
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -39,6 +39,16 @@ with all sufficient information, see the ChangeLog file. obj&.attr += 1 [Feature #11537] +* the did_you_mean gem: + + * When a NameError or NoMethodError occurs because of a typo in the name, + the did_you_mean gem automatically suggests other names similar to the + method name. + + "Yuki".starts_with?("Y") + # => NoMethodError: undefined method `starts_with?' for "Yuki":String + # Did you mean? start_with? + * indented here document: * new string literal, here document starts with `<<~`. |