Project

General

Profile

« Previous | Next » 

Revision 187a7b0b

Added by Akinori MUSHA about 17 years ago

  • range.c (range_step): Fix brokenness when a non-integer numeric
    value is specified as step. [rubyspec]
    (range_step): Make use of String#step internally if a string (or
    string-alike) range is given.

  • string.c (rb_str_upto_m, Init_String): Add an optional second
    argument to specify if the last value should be included.

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