mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* transcode.c (str_transcode): fix error message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
edcd02cb5a
commit
fc6484cbf4
3 changed files with 9 additions and 5 deletions
|
@ -1,3 +1,7 @@
|
|||
Wed Aug 13 02:36:47 2008 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* transcode.c (str_transcode): fix error message.
|
||||
|
||||
Tue Aug 12 23:42:31 2008 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* transcode.c (rb_cEncodingConverter): new class Encoding::Converter.
|
||||
|
|
|
@ -1072,7 +1072,7 @@ str_transcode(int argc, VALUE *argv, VALUE *self)
|
|||
v = rb_hash_aref(opt, sym_replace);
|
||||
}
|
||||
else {
|
||||
rb_raise(rb_eArgError, "unknown value for invalid: setting");
|
||||
rb_raise(rb_eArgError, "unknown value for invalid character option");
|
||||
}
|
||||
v = rb_hash_aref(opt, sym_undef);
|
||||
if (NIL_P(v)) {
|
||||
|
@ -1084,7 +1084,7 @@ str_transcode(int argc, VALUE *argv, VALUE *self)
|
|||
options |= UNDEF_REPLACE;
|
||||
}
|
||||
else {
|
||||
rb_raise(rb_eArgError, "unknown value for undef: setting");
|
||||
rb_raise(rb_eArgError, "unknown value for undefined character option");
|
||||
}
|
||||
}
|
||||
if (argc < 1 || argc > 2) {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#define RUBY_VERSION "1.9.0"
|
||||
#define RUBY_RELEASE_DATE "2008-08-12"
|
||||
#define RUBY_RELEASE_DATE "2008-08-13"
|
||||
#define RUBY_VERSION_CODE 190
|
||||
#define RUBY_RELEASE_CODE 20080812
|
||||
#define RUBY_RELEASE_CODE 20080813
|
||||
#define RUBY_PATCHLEVEL 0
|
||||
|
||||
#define RUBY_VERSION_MAJOR 1
|
||||
|
@ -9,7 +9,7 @@
|
|||
#define RUBY_VERSION_TEENY 0
|
||||
#define RUBY_RELEASE_YEAR 2008
|
||||
#define RUBY_RELEASE_MONTH 8
|
||||
#define RUBY_RELEASE_DAY 12
|
||||
#define RUBY_RELEASE_DAY 13
|
||||
|
||||
#ifdef RUBY_EXTERN
|
||||
RUBY_EXTERN const char ruby_version[];
|
||||
|
|
Loading…
Reference in a new issue