[DOC] fix markups [ci skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2019-03-28 03:33:35 +00:00
parent 832bc50768
commit de0ef1a9df
12 changed files with 186 additions and 197 deletions

10
range.c
View file

@ -359,8 +359,7 @@ range_step_size(VALUE range, VALUE args, VALUE eobj)
*
* Iterates over the range, passing each <code>n</code>th element to the block.
* If begin and end are numeric, +n+ is added for each iteration.
* Otherwise <code>step</code> invokes <code>succ</code> to iterate through
* range elements.
* Otherwise #step invokes #succ to iterate through range elements.
*
* If no block is given, an enumerator is returned instead.
* Especially, the enumerator is an Enumerator::ArithmeticSequence
@ -1312,9 +1311,8 @@ inspect_range(VALUE range, VALUE dummy, int recur)
* call-seq:
* rng.inspect -> string
*
* Convert this range object to a printable form (using
* <code>inspect</code> to convert the begin and end
* objects).
* Convert this range object to a printable form (using #inspect to
* convert the begin and end objects).
*/
@ -1538,7 +1536,7 @@ range_alloc(VALUE klass)
return rb_struct_alloc_noinit(klass);
}
/* A <code>Range</code> represents an interval---a set of values with a
/* A Range represents an interval---a set of values with a
* beginning and an end. Ranges may be constructed using the
* <em>s</em><code>..</code><em>e</em> and
* <em>s</em><code>...</code><em>e</em> literals, or with