diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-14 02:52:14 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-14 02:52:14 +0000 |
commit | c26df684d0193ac09e0ed4393cd0097654ca00b3 (patch) | |
tree | bfdd943ca353ca3c29be13bc4641b6e94add469e | |
parent | bf308ac3e9959f577154a5dc40147b73848f5223 (diff) | |
download | ruby-c26df684d0193ac09e0ed4393cd0097654ca00b3.tar.gz |
* 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
-rw-r--r-- | ChangeLog | 11 | ||||
-rw-r--r-- | enum.c | 2 | ||||
-rw-r--r-- | io.c | 4 | ||||
-rw-r--r-- | iseq.c | 2 | ||||
-rw-r--r-- | numeric.c | 2 | ||||
-rw-r--r-- | process.c | 2 | ||||
-rw-r--r-- | string.c | 2 | ||||
-rw-r--r-- | vm_trace.c | 2 |
8 files changed, 19 insertions, 8 deletions
@@ -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. @@ -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>. * @@ -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. * @@ -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, diff --git a/vm_trace.c b/vm_trace.c index 0515abf7ab..b814a1201d 100644 --- a/vm_trace.c +++ b/vm_trace.c @@ -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); |