diff options
author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-07-12 14:46:09 +0000 |
---|---|---|
committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-07-12 14:46:09 +0000 |
commit | 1032750aa6fb528694508dcd0533b40e9ad805cf (patch) | |
tree | 74a02d2ca960456f47aeb82856d8485593644560 /range.c | |
parent | 5a7efe4dbf22dee4b5b105154294bc21be63a517 (diff) |
merges r23930 from trunk into ruby_1_9_1.
--
* hash.c (rb_hash_hash): documentation fix. a patch from
Marc-Andre Lafortune. [ruby-core:23943]
* object.c (rb_mod_cmp): ditto.
* range.c (range_eq): ditto.
* string.c (rb_str_partition, rb_str_rpartition): ditto.
* struct.c (rb_struct_s_def): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@24051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'range.c')
-rw-r--r-- | range.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -112,8 +112,8 @@ range_exclude_end_p(VALUE range) * * Returns <code>true</code> only if <i>obj</i> is a Range, has equivalent * beginning and end items (by comparing them with <code>==</code>), and has - * the same #exclude_end? setting as <i>rng</t>. - * + * the same <code>exclude_end?</code> setting as <i>rng</i>. + * * (0..2) == (0..2) #=> true * (0..2) == Range.new(0,2) #=> true * (0..2) == (0...2) #=> false |