Project

General

Profile

Actions

Bug #9570

closed

Something wrong with Enumerator#size ?

Added by taroxd (东 许) almost 11 years ago. Updated over 10 years ago.

Status:
Closed
Target version:
ruby -v:
Ruby 2.0.0-p451
[ruby-core:61106]

Description

enum = 2.step(1, 3)
enum.size #=> 1

It should be 0, shouldn't it? ( Windows )

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0