From 37ce765ba3aef6e0cbe64490b853951c5e07685b Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 28 Apr 2014 15:20:28 +0000 Subject: fix typo [Fix GH-603] * bootstraptest/test_literal.rb: fix typo of "dynamic". [ci skip] * regexp.rdoc: fix typo of "organized". [ci skip] * lib/session.rb: fix typo of "recognized". [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 8 ++++++++ bootstraptest/test_literal.rb | 2 +- doc/regexp.rdoc | 2 +- lib/cgi/session.rb | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 20137d1760..21f86c0545 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +Tue Apr 29 00:20:26 2014 Rajarshi Das + + * bootstraptest/test_literal.rb: fix typo of "dynamic". [ci skip] + + * regexp.rdoc: fix typo of "organized". [ci skip] + + * lib/session.rb: fix typo of "recognized". [ci skip] + Mon Apr 28 21:40:27 2014 NARUSE, Yui * configure.in (HAVE_STRUCT_STATFS_F_TYPE): check struct statfs.f_type diff --git a/bootstraptest/test_literal.rb b/bootstraptest/test_literal.rb index b95a2f2d0a..aa65bddae1 100644 --- a/bootstraptest/test_literal.rb +++ b/bootstraptest/test_literal.rb @@ -84,7 +84,7 @@ assert_equal '0', 're = /test/; re =~ "test"' assert_equal '0', 'str = "test"; /test/ =~ str' assert_equal '0', 're = /test/; str = "test"; re =~ str' -# dynacmi regexp +# dynamic regexp assert_equal 'regexp', %q(/re#{'ge'}xp/.source) assert_equal 'Regexp', %q(/re#{'ge'}xp/.class) diff --git a/doc/regexp.rdoc b/doc/regexp.rdoc index 3c13b6683f..29435a96d7 100644 --- a/doc/regexp.rdoc +++ b/doc/regexp.rdoc @@ -545,7 +545,7 @@ Options may also be used with Regexp.new: As mentioned above, the x option enables free-spacing mode. Literal white space inside the pattern is ignored, and the octothorpe (#) character introduces a comment until the end of -the line. This allows the components of the pattern to be organised in a +the line. This allows the components of the pattern to be organized in a potentially more readable fashion. A contrived pattern to match a number with optional decimal places: diff --git a/lib/cgi/session.rb b/lib/cgi/session.rb index 606d5bc541..63c5003526 100644 --- a/lib/cgi/session.rb +++ b/lib/cgi/session.rb @@ -453,7 +453,7 @@ class CGI # # +session+ is the session this instance is associated with. # +option+ is a list of initialisation options. None are - # currently recognised. + # currently recognized. def initialize(session, option=nil) @session_id = session.session_id unless GLOBAL_HASH_TABLE.key?(@session_id) -- cgit v1.2.3