1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/irb/output-method.rb: translate a comment to English to

avoid mix of EUC-JP comment and UTF-8 $Date$.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2007-12-24 16:09:31 +00:00
parent 6c9d911423
commit 027c45a1c7
2 changed files with 10 additions and 5 deletions

View file

@ -1,3 +1,8 @@
Tue Dec 25 01:07:57 2007 Tanaka Akira <akr@fsij.org>
* lib/irb/output-method.rb: translate a comment to English to
avoid mix of EUC-JP comment and UTF-8 $Date$.
Tue Dec 25 00:27:28 2007 GOTOU Yuuzou <gotoyuzo@notwork.org> Tue Dec 25 00:27:28 2007 GOTOU Yuuzou <gotoyuzo@notwork.org>
* lib/webrick/httpservley/cgihandler.rb * lib/webrick/httpservley/cgihandler.rb

View file

@ -36,11 +36,11 @@ module IRB
end end
# % # %
# <フラグ> [#0- +] # <flag> [#0- +]
# <最小フィールド幅> (\*|\*[1-9][0-9]*\$|[1-9][0-9]*) # <minimum field width> (\*|\*[1-9][0-9]*\$|[1-9][0-9]*)
# <精度>.(\*|\*[1-9][0-9]*\$|[1-9][0-9]*|)? # <precision>.(\*|\*[1-9][0-9]*\$|[1-9][0-9]*|)?
# #<長さ修正文字>(hh|h|l|ll|L|q|j|z|t) # #<length modifier>(hh|h|l|ll|L|q|j|z|t)
# <変換修正文字>[diouxXeEfgGcsb%] # <conversion specifier>[diouxXeEfgGcsb%]
def parse_printf_format(format, opts) def parse_printf_format(format, opts)
return format, opts if $1.size % 2 == 1 return format, opts if $1.size % 2 == 1
end end