diff --git a/ChangeLog b/ChangeLog index e028100cd6..ff2542f9ec 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Thu Sep 16 08:30:28 2010 Nobuyoshi Nakada + + * sprintf.c (rb_f_sprintf): fix rdoc. pointed out by Tomoyuki + Chikanaga at [ruby-core:32395], and a patch from Daniel + Bovensiepen at [ruby-core:32403]. + Thu Sep 16 08:27:36 2010 Nobuyoshi Nakada * ext/etc/extconf.rb: use expanded sysconfdir with empty DESTDIR. diff --git a/sprintf.c b/sprintf.c index 319e68a956..60d54f49bf 100644 --- a/sprintf.c +++ b/sprintf.c @@ -425,9 +425,9 @@ get_hash(volatile VALUE *hash, int argc, const VALUE *argv) * %s style uses format style, but %{name} style doesn't. * * Exapmles: - * sprintf("%d : %f" % { :foo => 1, :bar => 2 }) + * sprintf("%d : %f", { :foo => 1, :bar => 2 }) * #=> 1 : 2.000000 - * sprintf("%{foo}f" % { :foo => 1 }) + * sprintf("%{foo}f", { :foo => 1 }) * # => "1f" */ diff --git a/version.h b/version.h index eefac72ed6..3ab160be85 100644 --- a/version.h +++ b/version.h @@ -1,5 +1,5 @@ #define RUBY_VERSION "1.9.2" -#define RUBY_PATCHLEVEL 45 +#define RUBY_PATCHLEVEL 46 #define RUBY_VERSION_MAJOR 1 #define RUBY_VERSION_MINOR 9 #define RUBY_VERSION_TEENY 1