mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
1cabc3cab1
commit
37ce765ba3
4 changed files with 11 additions and 3 deletions
|
@ -1,3 +1,11 @@
|
||||||
|
Tue Apr 29 00:20:26 2014 Rajarshi Das <rajarshid@cybage.com>
|
||||||
|
|
||||||
|
* 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 <naruse@ruby-lang.org>
|
Mon Apr 28 21:40:27 2014 NARUSE, Yui <naruse@ruby-lang.org>
|
||||||
|
|
||||||
* configure.in (HAVE_STRUCT_STATFS_F_TYPE): check struct statfs.f_type
|
* configure.in (HAVE_STRUCT_STATFS_F_TYPE): check struct statfs.f_type
|
||||||
|
|
|
@ -84,7 +84,7 @@ assert_equal '0', 're = /test/; re =~ "test"'
|
||||||
assert_equal '0', 'str = "test"; /test/ =~ str'
|
assert_equal '0', 'str = "test"; /test/ =~ str'
|
||||||
assert_equal '0', 're = /test/; str = "test"; re =~ 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/.source)
|
||||||
assert_equal 'Regexp', %q(/re#{'ge'}xp/.class)
|
assert_equal 'Regexp', %q(/re#{'ge'}xp/.class)
|
||||||
|
|
||||||
|
|
|
@ -545,7 +545,7 @@ Options may also be used with <tt>Regexp.new</tt>:
|
||||||
As mentioned above, the <tt>x</tt> option enables <i>free-spacing</i>
|
As mentioned above, the <tt>x</tt> option enables <i>free-spacing</i>
|
||||||
mode. Literal white space inside the pattern is ignored, and the
|
mode. Literal white space inside the pattern is ignored, and the
|
||||||
octothorpe (<tt>#</tt>) character introduces a comment until the end of
|
octothorpe (<tt>#</tt>) 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.
|
potentially more readable fashion.
|
||||||
|
|
||||||
A contrived pattern to match a number with optional decimal places:
|
A contrived pattern to match a number with optional decimal places:
|
||||||
|
|
|
@ -453,7 +453,7 @@ class CGI
|
||||||
#
|
#
|
||||||
# +session+ is the session this instance is associated with.
|
# +session+ is the session this instance is associated with.
|
||||||
# +option+ is a list of initialisation options. None are
|
# +option+ is a list of initialisation options. None are
|
||||||
# currently recognised.
|
# currently recognized.
|
||||||
def initialize(session, option=nil)
|
def initialize(session, option=nil)
|
||||||
@session_id = session.session_id
|
@session_id = session.session_id
|
||||||
unless GLOBAL_HASH_TABLE.key?(@session_id)
|
unless GLOBAL_HASH_TABLE.key?(@session_id)
|
||||||
|
|
Loading…
Reference in a new issue