[#76515] [Ruby trunk Bug#12610] webrick: protect from httpoxy — nagachika00@...
Issue #12610 has been updated by Tomoyuki Chikanaga.
3 messages
2016/07/22
[ruby-core:76558] [Ruby trunk Feature#12626] Add ceiling alias for ceil on Numeric objects
From:
jason.m.willems@...
Date:
2016-07-25 07:49:13 UTC
List:
ruby-core #76558
Issue #12626 has been reported by Jason Willems. ---------------------------------------- Feature #12626: Add ceiling alias for ceil on Numeric objects https://bugs.ruby-lang.org/issues/12626 * Author: Jason Willems * Status: Open * Priority: Normal * Assignee: ---------------------------------------- Proposing adding a `ceiling` alias to the `ceil` instance method for Numeric, Float, Integer. Although `ceil` is familiar as it's an extremely common method name in other languages, `ceiling` is more readable. Several other methods exist in the standard library with aliased long and short forms. A few examples: **Numeric**: [:imaginary, :imag] [:rectangular, :rect] [:to_i, :to_int] [:conjugate, :conj] **String**: [:to_str, :to_s] Usage: ```ruby > 2.71.ceil => 3 > 2.71.ceiling => 3 ``` ```ruby > Fixnum.instance_methods.grep /ceil/ => [:ceil, :ceiling] ``` -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:[email protected]?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>