From: matz@... Date: 2016-11-25T08:40:56+00:00 Subject: [ruby-core:78330] [Ruby trunk Feature#12786] String#casecmp? Issue #12786 has been updated by Yukihiro Matsumoto. `casecmp?` accepted. Matz. ---------------------------------------- Feature #12786: String#casecmp? https://bugs.ruby-lang.org/issues/12786#change-61694 * Author: Ryan Ringler * Status: Open * Priority: Normal * Assignee: ---------------------------------------- Description I would find String#casecmp? convenience method handy. I don't believe I've ever called String#casecmp without chaining #zero? to the result. ```ruby 'abc'.casecmp?('ABC') #=> true 'abc'.casecmp?('DEF') #=> false ``` ---Files-------------------------------- string_casecmp_.patch (4.97 KB) -- https://bugs.ruby-lang.org/ Unsubscribe: