diff --git a/ChangeLog b/ChangeLog index 6e8c8d569b..4d36784616 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Fri Mar 2 07:58:24 2007 Yukihiro Matsumoto + + * object.c (rb_obj_ivar_set): RDoc updated according to a + suggestion from Brian Candler . + [ruby-core:10469] + Thu Mar 1 21:38:07 2007 Nobuyoshi Nakada * parse.y (stmt, arg): should not omit lhs of OP_ASGN1 even if diff --git a/object.c b/object.c index d1c53717e3..a27e17efa7 100644 --- a/object.c +++ b/object.c @@ -1659,10 +1659,12 @@ rb_obj_public_methods(int argc, VALUE *argv, VALUE obj) /* * call-seq: * obj.instance_variable_get(symbol) => obj - * - * Returns the value of the given instance variable (or throws a - * NameError exception). The @ part of the - * variable name should be included for regular instance variables + * + * Returns the value of the given instance variable, or nil if the + * instance variable is not set. The @ part of the variable name + * should be included for regular instance variables. Throws a + * NameError exception if the supplied symbol is not valid as an + * instance variable name. * * class Fred * def initialize(p1, p2) diff --git a/version.h b/version.h index 4d96118a2d..b96d002878 100644 --- a/version.h +++ b/version.h @@ -1,7 +1,7 @@ #define RUBY_VERSION "1.9.0" -#define RUBY_RELEASE_DATE "2007-03-01" +#define RUBY_RELEASE_DATE "2007-03-02" #define RUBY_VERSION_CODE 190 -#define RUBY_RELEASE_CODE 20070301 +#define RUBY_RELEASE_CODE 20070302 #define RUBY_PATCHLEVEL 0 #define RUBY_VERSION_MAJOR 1 @@ -9,11 +9,9 @@ #define RUBY_VERSION_TEENY 0 #define RUBY_RELEASE_YEAR 2007 #define RUBY_RELEASE_MONTH 3 -#define RUBY_RELEASE_DAY 1 +#define RUBY_RELEASE_DAY 2 -#ifdef RUBY_EXTERN RUBY_EXTERN const char ruby_version[]; RUBY_EXTERN const char ruby_release_date[]; RUBY_EXTERN const char ruby_platform[]; RUBY_EXTERN const int ruby_patchlevel; -#endif