https://bugs.ruby-lang.org/https://bugs.ruby-lang.org/favicon.ico?17113305112015-10-29T13:25:29ZRuby Issue Tracking SystemRuby master - Feature #11627: make `nonzero` an alias of `nonzero?`https://bugs.ruby-lang.org/issues/11627?journal_id=546352015-10-29T13:25:29Zmarcandre (Marc-Andre Lafortune)marcandre-ruby-core@marc-andre.ca
<ul><li><strong>Assignee</strong> set to <i>matz (Yukihiro Matsumoto)</i></li></ul><p>When you say "for historic reasons nonzero? returns self or nil", it sounds like it was a mistake that can't be fixed for compatibility reason. I don't believe this to be true.</p>
<p>Also, do you also want <code>Module#<</code> and al. to be renamed?</p>
<pre><code>String < Fixnum # => nil
</code></pre> Ruby master - Feature #11627: make `nonzero` an alias of `nonzero?`https://bugs.ruby-lang.org/issues/11627?journal_id=955922021-12-23T23:43:59Zhsbt (Hiroshi SHIBATA)hsbt@ruby-lang.org
<ul><li><strong>Project</strong> changed from <i>14</i> to <i>Ruby master</i></li></ul>