From: nobu@... Date: 2014-02-27T06:07:21+00:00 Subject: [ruby-core:61118] [ruby-trunk - Bug #9570] Something wrong with Enumerator#size ? Issue #9570 has been updated by Nobuyoshi Nakada. Sorry, I did it last night but had no time to commit, and missed to check the latest status this morning. ---------------------------------------- Bug #9570: Something wrong with Enumerator#size ? https://bugs.ruby-lang.org/issues/9570#change-45501 * Author: ��� ��� * Status: Closed * Priority: Normal * Assignee: Marc-Andre Lafortune * Category: core * Target version: current: 2.2.0 * ruby -v: Ruby 2.0.0-p451 * Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN, 2.1: UNKNOWN ---------------------------------------- enum = 2.step(1, 3) enum.size #=> 1 It should be 0, shouldn't it? ( Windows ) -- http://bugs.ruby-lang.org/