diff options
author | stomar <stomar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-07-08 19:30:19 +0000 |
---|---|---|
committer | stomar <stomar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-07-08 19:30:19 +0000 |
commit | db6a22eab1b7da7ff15d0e827817192a737b1182 (patch) | |
tree | a07a0f181f46906a5c159dbdd0e13421878475f5 /range.c | |
parent | 2bc863d612ac8add1c652c3a1c492476a4afa60f (diff) | |
download | ruby-db6a22eab1b7da7ff15d0e827817192a737b1182.tar.gz |
range.c: [DOC] small improvement
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'range.c')
-rw-r--r-- | range.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -74,7 +74,7 @@ range_modify(VALUE range) * Range.new(begin, end, exclude_end=false) -> rng * * Constructs a range using the given +begin+ and +end+. If the +exclude_end+ - * parameter is omitted or is <code>false</code>, the +rng+ will include + * parameter is omitted or is <code>false</code>, the range will include * the end object; otherwise, it will be excluded. */ @@ -766,7 +766,7 @@ range_size(VALUE range) * rng.to_a -> array * rng.entries -> array * - * Returns an array containing the items in <i>rng</i>. + * Returns an array containing the items in the range. * * (1..7).to_a #=> [1, 2, 3, 4, 5, 6, 7] * (1..).to_a #=> RangeError: cannot convert endless range to an array |