summaryrefslogtreecommitdiff
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
commit027c45a1c7f272234962b3591902d6f0c5766ce1 (patch)
tree467e926c96d1dae4cdd85a7ac439a9022eefb8bc
parent6c9d911423caeb6823dd46ba56072db81beab02b (diff)
* 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
-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 a200f85cdf..af7fbb38ce 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 b9a3a8851e..3e4e3d442c 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