Hi,
In message "[ruby-talk:11396] Re: Time without seconds (updated/fixed)"
on 01/02/24, ts <decoux / moulon.inra.fr> writes:
|Y> a = A[1] + A[2]
|Y> p a.type # => Array
|
|Y> Why not for Times?
|
| because in the example I expected A :-)
Ok, then
class B<Array; end
a = A[1] + B[2]
What do you expect? A? B? Array?
matz.