Project

General

Profile

« Previous | Next » 

Revision d07861fb

Added by nobu (Nobuyoshi Nakada) about 7 years ago

range.c: each on endless range

  • range.c (range_each): endless range begins with string-like
    object should iterate from the converted result string, as well
    as #each on a string-end range or #step method on an endless
    range, i.e., begin.succ should not be called.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e