summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-24 16:09:31 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-24 16:09:31 +0000
commit1db3479e8bb3cf680561f422bcabcd2c36a35bfd (patch)
tree467e926c96d1dae4cdd85a7ac439a9022eefb8bc
parent14a646db1f1ec0a20564853674dab869af724da0 (diff)
downloadruby-1db3479e8bb3cf680561f422bcabcd2c36a35bfd.tar.gz
ruby-1db3479e8bb3cf680561f422bcabcd2c36a35bfd.tar.xz
ruby-1db3479e8bb3cf680561f422bcabcd2c36a35bfd.zip
* lib/irb/output-method.rb: translate a comment to English to
avoid mix of EUC-JP comment and UTF-8 $Date$. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--lib/irb/output-method.rb10
2 files changed, 10 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index a200f85cd..af7fbb38c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
* lib/webrick/httpservley/cgihandler.rb
diff --git a/lib/irb/output-method.rb b/lib/irb/output-method.rb
index b9a3a8851..3e4e3d442 100644
--- a/lib/irb/output-method.rb
+++ b/lib/irb/output-method.rb
@@ -36,11 +36,11 @@ module IRB
end
# %
- # <フラグ> [#0- +]
- # <最小フィールド幅> (\*|\*[1-9][0-9]*\$|[1-9][0-9]*)
- # <精度>.(\*|\*[1-9][0-9]*\$|[1-9][0-9]*|)?
- # #<長さ修正文字>(hh|h|l|ll|L|q|j|z|t)
- # <変換修正文字>[diouxXeEfgGcsb%]
+ # <flag> [#0- +]
+ # <minimum field width> (\*|\*[1-9][0-9]*\$|[1-9][0-9]*)
+ # <precision>.(\*|\*[1-9][0-9]*\$|[1-9][0-9]*|)?
+ # #<length modifier>(hh|h|l|ll|L|q|j|z|t)
+ # <conversion specifier>[diouxXeEfgGcsb%]
def parse_printf_format(format, opts)
return format, opts if $1.size % 2 == 1
end