[前][次][番号順一覧][スレッド一覧]

ruby-changes:32129

From: a_matsuda <ko1@a...>
Date: Sat, 14 Dec 2013 19:55:01 +0900 (JST)
Subject: [ruby-changes:32129] a_matsuda:r44208 (trunk): [DOC] Correct a couple of typos in comments by @dvsuresh [Fixes GH-482]

a_matsuda	2013-12-14 19:54:54 +0900 (Sat, 14 Dec 2013)

  New Revision: 44208

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44208

  Log:
    [DOC] Correct a couple of typos in comments by @dvsuresh [Fixes GH-482]
    
    * doc/ChangeLog-YARV:  Correct a typo in comment
    * lib/rubygems/specification.rb:  ditto.
    * test/rexml/data/tutorial.xml:  ditto.
    * test/ruby/test_settracefunc.rb:  ditto.
    * tool/instruction.rb:  ditto.
    
    https://github.com/ruby/ruby/pull/482
    [ci-skip]

  Modified files:
    trunk/doc/ChangeLog-YARV
    trunk/lib/rubygems/specification.rb
    trunk/test/rexml/data/tutorial.xml
    trunk/test/ruby/test_settracefunc.rb
    trunk/tool/instruction.rb
Index: doc/ChangeLog-YARV
===================================================================
--- doc/ChangeLog-YARV	(revision 44207)
+++ doc/ChangeLog-YARV	(revision 44208)
@@ -4328,7 +4328,7 @@ Sun Dec 31 17:42:05 2006  Koichi Sasada https://github.com/ruby/ruby/blob/trunk/doc/ChangeLog-YARV#L4328
 
 	* vm.c : fix to skip pushing value at "next"
 
-	* yarvcore.h : move definision of 
+	* yarvcore.h : move definition of 
 	"struct iseq_compile_data_ensure_node_stack" to compile.c
 
 	* compile.c : fix ensure catch table creation
Index: lib/rubygems/specification.rb
===================================================================
--- lib/rubygems/specification.rb	(revision 44207)
+++ lib/rubygems/specification.rb	(revision 44208)
@@ -1609,7 +1609,7 @@ class Gem::Specification < Gem::BasicSpe https://github.com/ruby/ruby/blob/trunk/lib/rubygems/specification.rb#L1609
 
   ##
   # Returns the full path to this spec's documentation directory.  If +type+
-  # is given it will be appended to the end.  For examlpe:
+  # is given it will be appended to the end.  For example:
   #
   #   spec.doc_dir      # => "/path/to/gem_repo/doc/a-1"
   #
Index: tool/instruction.rb
===================================================================
--- tool/instruction.rb	(revision 44207)
+++ tool/instruction.rb	(revision 44208)
@@ -64,7 +64,7 @@ class RubyVM https://github.com/ruby/ruby/blob/trunk/tool/instruction.rb#L64
     def sp_increase_c_expr
       if(pops.any?{|t, v| v == '...'} ||
          rets.any?{|t, v| v == '...'})
-        # user definision
+        # user definition
         raise "no sp increase definition" if @sp_inc.nil?
         ret = "int inc = 0;\n"
 
Index: test/ruby/test_settracefunc.rb
===================================================================
--- test/ruby/test_settracefunc.rb	(revision 44207)
+++ test/ruby/test_settracefunc.rb	(revision 44208)
@@ -607,7 +607,7 @@ class TestSetTraceFunc < Test::Unit::Tes https://github.com/ruby/ruby/blob/trunk/test/ruby/test_settracefunc.rb#L607
     tap{}
     trace.disable
 
-    # passed tp is unique, `trace' object which is genereted by TracePoint.trace
+    # passed tp is unique, `trace' object which is generated by TracePoint.trace
     tps.each{|tp|
       assert_equal trace, tp
     }
Index: test/rexml/data/tutorial.xml
===================================================================
--- test/rexml/data/tutorial.xml	(revision 44207)
+++ test/rexml/data/tutorial.xml	(revision 44208)
@@ -628,7 +628,7 @@ parser.parse</example> https://github.com/ruby/ruby/blob/trunk/test/rexml/data/tutorial.xml#L628
         attributes, text) root_node.find_first_recursive {|node| node.name ==
         tag and attributes.all? {|attr, val| node.attributes[attr] == val} and
         text === node.text } end # # Extract specific columns (specified by
-        the position of it's corrensponding # header column) from a table. # #
+        the position of it's corresponding # header column) from a table. # #
         Given the following table: # # &lt;table&gt; # &lt;tr&gt; #
         &lt;td&gt;A&lt;/td&gt; # &lt;td&gt;B&lt;/td&gt; #
         &lt;td&gt;C&lt;/td&gt; # &lt;/tr&gt; # &lt;tr&gt; #

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]