[macruby-changes] [MacRuby/MacRuby] 94c90b: add an Enumeration process in String#upto

GitHub noreply at github.com
Fri Apr 6 06:53:08 PDT 2012


  Branch: refs/heads/master
  Home:   https://github.com/MacRuby/MacRuby
  Commit: 94c90b351c18ce1f59a3add8b525baf466e4dace
      https://github.com/MacRuby/MacRuby/commit/94c90b351c18ce1f59a3add8b525baf466e4dace
  Author: Watson <watson1978 at gmail.com>
  Date:   2012-04-06 (Fri, 06 Apr 2012)

  Changed paths:
    M string.c

  Log Message:
  -----------
  add an Enumeration process in String#upto

This commit supports following:
	"9".upto("11").to_a  # => ["9", "10", "11"]





More information about the macruby-changes mailing list