General

Profile

Kenta Murata

Issues

Projects

Activity

06/21/2016

02:02 PM Ruby trunk Feature #12512 (Open): Import Hash#transform_values and its destructive version from ActiveSupport
I think value transformation is a fundamental feature of Hash.

06/14/2016

01:20 AM Ruby trunk Revision 55406: NEWS: describe Integer#digits [ci skip]

06/13/2016

03:43 PM Ruby trunk Bug #12485: Kernel.Rational raises TypeError though given denominator returns 1 by to_int
Nobuyoshi Nakada wrote:
> You can use `RB_INTEGER_TYPE_P` in the trunk.
I forgot it. Thanks.
03:36 PM Ruby trunk Feature #12484: Optimizing Rational
I've uploaded a wrong file.
The correct one is this.
03:34 PM Ruby trunk Feature #12484: Optimizing Rational
I've checked the attached patch, and I found a case that should be fixed.
It's related to Integer subclasses.
Nob...
02:53 PM Ruby trunk Bug #12485: Kernel.Rational raises TypeError though given denominator returns 1 by to_int
Attached patch can fix this issue.
02:39 PM Ruby trunk Bug #12485 (Open): Kernel.Rational raises TypeError though given denominator returns 1 by to_int
Is it an intentional behavior?
```ruby
class << (o = Object.new)
def to_int
1
end
end
Rational(1, ...
11:44 AM Ruby trunk Feature #12447 (Closed): Integer#digits for extracting digits of place-value notation in any base
Applied in changeset r55395.
----------
numeric.c: Add Integer#digits [Feature #12447] [ruby-core:75799]
11:43 AM Ruby trunk Revision 55395: numeric.c: Add Integer#digits [Feature #12447] [ruby-core:75799]
09:08 AM Ruby trunk Feature #12447: Integer#digits for extracting digits of place-value notation in any base
Summary of decision in today's Developer meeting:
- The results endian is little endian.
- Raise `Math::DomainErr...

Also available in: Atom