* enum.c: fix a typo in documentation.

[ci skip][fix GH-1140] Patch by @jutaz
* io.c: ditto.
* iseq.c: ditto.
* numeric.c: ditto.
* process.c: ditto.
* string.c: ditto.
* vm_trace.c: ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
hsbt 2015-12-14 02:52:14 +00:00
Родитель 53e4e7fc3d
Коммит 52cd994814
8 изменённых файлов: 19 добавлений и 8 удалений

Просмотреть файл

@ -1,3 +1,14 @@
Mon Dec 14 11:46:52 2015 SHIBATA Hiroshi <hsbt@ruby-lang.org>
* enum.c: fix a typo in documentation.
[ci skip][fix GH-1140] Patch by @jutaz
* io.c: ditto.
* iseq.c: ditto.
* numeric.c: ditto.
* process.c: ditto.
* string.c: ditto.
* vm_trace.c: ditto.
Mon Dec 14 11:41:59 2015 SHIBATA Hiroshi <hsbt@ruby-lang.org>
* lib/cgi.rb: fix a typo in documentation.

2
enum.c
Просмотреть файл

@ -97,7 +97,7 @@ enum_grep(VALUE obj, VALUE pat)
* enum.grep_v(pattern) -> array
* enum.grep_v(pattern) { |obj| block } -> array
*
* Inversed version of Enumerable#grep.
* Inverted version of Enumerable#grep.
* Returns an array of every element in <i>enum</i> for which
* not <code>Pattern === element</code>.
*

4
io.c
Просмотреть файл

@ -3214,7 +3214,7 @@ rb_io_gets(VALUE io)
* If IO contains multibyte characters byte then <code>gets(1)</code>
* returns character entirely:
*
* # russian characters take 2 bytes
* # Russian characters take 2 bytes
* File.write("testfile", "\u{442 435 441 442}")
* File.open("testfile") {|f|f.gets(1)} #=> "\u0442"
* File.open("testfile") {|f|f.gets(2)} #=> "\u0442"
@ -11845,7 +11845,7 @@ opt_i_get(ID id, VALUE *var)
* call-seq:
* ARGF.inplace_mode = ext -> ARGF
*
* Sets the filename extension for inplace editing mode to the given String.
* Sets the filename extension for in place editing mode to the given String.
* Each file being edited has this value appended to its filename. The
* modified file is saved under this new name.
*

2
iseq.c
Просмотреть файл

@ -2336,7 +2336,7 @@ rb_iseqw_local_variables(VALUE iseqval)
* iseq.to_binary(extra_data = nil) -> binary str
*
* Returns serialized iseq binary format data as a String object.
* A correspnding iseq object is created by
* A corresponding iseq object is created by
* RubyVM::InstructionSequence.load_from_binary() method.
*
* String extra_data will be saved with binary data.

Просмотреть файл

@ -1619,7 +1619,7 @@ flo_next_float(VALUE vx)
* call-seq:
* float.prev_float -> float
*
* Returns the previous representable floatint-point number.
* Returns the previous representable floating-point number.
*
* (-Float::MAX).prev_float and (-Float::INFINITY).prev_float is -Float::INFINITY.
*

Просмотреть файл

@ -7111,7 +7111,7 @@ get_mach_timebase_info(void)
* #=> 896053.968060096
*
* +clock_id+ specifies a kind of clock.
* It is specifed as a constant which begins with <code>Process::CLOCK_</code>
* It is specified as a constant which begins with <code>Process::CLOCK_</code>
* such as Process::CLOCK_REALTIME and Process::CLOCK_MONOTONIC.
*
* The supported constants depends on OS and version.

Просмотреть файл

@ -4527,7 +4527,7 @@ rb_str_sub_bang(int argc, VALUE *argv, VALUE str)
* additional backslash. However, within +replacement+ the special match
* variables, such as <code>&$</code>, will not refer to the current match.
* If +replacement+ is a String that looks like a pattern's capture group but
* is actaully not a pattern capture group e.g. <code>"\\'"</code>, then it
* is actually not a pattern capture group e.g. <code>"\\'"</code>, then it
* will have to be preceded by two backslashes like so <code>"\\\\'"</code>.
*
* If the second argument is a Hash, and the matched text is one of its keys,

Просмотреть файл

@ -1448,7 +1448,7 @@ Init_vm_trace(void)
* +:b_return+:: event hook at block ending
* +:thread_begin+:: event hook at thread beginning
* +:thread_end+:: event hook at thread ending
* +:fiber_siwtch+:: event hook at fiber switch
* +:fiber_switch+:: event hook at fiber switch
*
*/
rb_cTracePoint = rb_define_class("TracePoint", rb_cObject);