aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-03-01 22:59:12 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-03-01 22:59:12 +0000
commit582f1ecdfbad7147e7c0668fc072441503cb7ba1 (patch)
tree76b1c8968716f1f707f42adb0e4ac0caf2e20479
parentcd725929d7241166733f2028cc71640b055ce267 (diff)
downloadruby-582f1ecdfbad7147e7c0668fc072441503cb7ba1.tar.gz
* object.c (rb_obj_ivar_set): RDoc updated according to a
suggestion from Brian Candler <B.Candler AT pobox.com>. [ruby-core:10469] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog6
-rw-r--r--object.c10
-rw-r--r--version.h8
3 files changed, 15 insertions, 9 deletions
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 <matz@ruby-lang.org>
+
+ * object.c (rb_obj_ivar_set): RDoc updated according to a
+ suggestion from Brian Candler <B.Candler AT pobox.com>.
+ [ruby-core:10469]
+
Thu Mar 1 21:38:07 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
* 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
- * <code>NameError</code> exception). The <code>@</code> 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