Project

General

Profile

Actions

Bug #1792

closed

Fixnum#& 等が、Rational などを受けつける

Added by tadf (tadayoshi funaba) over 15 years ago. Updated almost 12 years ago.

Status:
Closed
Target version:
ruby -v:
-
Backport:

Description

=begin
1 & 1.5 がエラーになるので、
1 & Rational(3,2)

1 & BigDecimal('1.5')
もエラーにすべきかもしれません。
=end


Related issues 1 (1 open0 closed)

Related to Ruby master - Feature #5310: Integral objectsAssignedmrkn (Kenta Murata)Actions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0