aboutsummaryrefslogtreecommitdiffstats
path: root/README.EXT
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-04-28 03:38:27 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-04-28 03:38:27 +0000
commit66c0e01220bd2855b860fd0f7a4b9b4b64669de8 (patch)
tree970f472bb148678d3624ef5f366c1d0db007664d /README.EXT
parent9ef25d883ddf9b8fa62a47f5c551d3d6e84ec541 (diff)
downloadruby-66c0e01220bd2855b860fd0f7a4b9b4b64669de8.tar.gz
README.EXT: update note
* README.EXT: correct method name to be used. [Bug #7982] * README.EXT.ja: add notes too. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'README.EXT')
-rw-r--r--README.EXT10
1 files changed, 6 insertions, 4 deletions
diff --git a/README.EXT b/README.EXT
index 404cea7ca2..6a622d2b11 100644
--- a/README.EXT
+++ b/README.EXT
@@ -196,8 +196,9 @@ rb_vsprintf(const char *format, va_list ap) ::
Creates a new Ruby string with printf(3) format.
- Note: In the format string, %i is used for Object#inspect output (and related
- argument must be a VALUE). For integers in format strings, use %d.
+ Note: In the format string, %i is used for Object#to_s (or Object#inspect if
+ '+' flag is set) output (and related argument must be a VALUE). For integers
+ in format strings, use %d.
rb_str_cat(VALUE str, const char *ptr, long len) ::
@@ -1369,8 +1370,9 @@ void rb_bug(const char *fmt, ...) ::
called under the situation caused by the bug in the interpreter. No
exception handling nor ensure execution will be done.
-Note: In the fmt string message, %i is used for Object#inspect output (and
-related argument must be a VALUE). For integers in format strings, use %d.
+Note: In the format string, %i is used for Object#to_s (or Object#inspect if
+'+' flag is set) output (and related argument must be a VALUE). For integers
+in format strings, use %d.
== Initialize and Start the Interpreter