[#74190] [Ruby trunk Feature#12134] Comparison between `true` and `false` — duerst@...
SXNzdWUgIzEyMTM0IGhhcyBiZWVuIHVwZGF0ZWQgYnkgTWFydGluIETDvHJzdC4KCgpUc3V5b3No
3 messages
2016/03/07
[#74269] Type systems for Ruby — Rob Blanco <ml@...>
Dear ruby-core,
5 messages
2016/03/10
[#74395] [Ruby trunk Feature#12142] Hash tables with open addressing — shyouhei@...
Issue #12142 has been updated by Shyouhei Urabe.
3 messages
2016/03/17
[ruby-core:74657] [Ruby trunk Bug#12054] Remove block from Logger.add as it's not needed
From:
naruse@...
Date:
2016-03-29 05:58:00 UTC
List:
ruby-core #74657
Issue #12054 has been updated by Yui NARUSE. Backport changed from 2.1: DONE, 2.2: DONE, 2.3: REQUIRED to 2.1: DONE, 2.2: DONE, 2.3: DONE ruby_2_3 r54362 merged revision(s) 53790,53844. ---------------------------------------- Bug #12054: Remove block from Logger.add as it's not needed https://bugs.ruby-lang.org/issues/12054#change-57784 * Author: Daniel Lobato Garcia * Status: Closed * Priority: Normal * Assignee: Daniel Lobato Garcia * ruby -v: * Backport: 2.1: DONE, 2.2: DONE, 2.3: DONE ---------------------------------------- Logger add (lib/logger.rb) takes as arguments severity, message, progname and &block The method runs the block through yield. In this case, we can just omit the argument and we'd be saving the instantiation of a new proc object (see http://mudge.name/2011/01/26/passing-blocks-in-ruby-without-block.html). -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:[email protected]?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>