ruby-cvs:18200
From: (nobu) <nobu ruby-lang.org>
Date: Tue, 19 Sep 2006 00:43:06 +0900
Subject: [ruby-cvs:18200] ruby, ruby, ruby/lib/date: * object.c (rb_obj_ivar_defined, rb_mod_cvar_defined): new methods,
nobu Tue, 19 Sep 2006 00:43:06 +0900
Modified files: (Branch: ruby_1_8)
ruby:
version.h
ruby:
ChangeLog object.c
ruby/lib/date:
format.rb
Log:
* object.c (rb_obj_ivar_defined, rb_mod_cvar_defined): new methods,
Kernel#instance_variable_defined? and Module#class_variable_defined?.
[ruby-dev:29587]
* lib/date/format.rb (Date::Bag#method_missing): use new method,
instance_variable_defined? to check if an instance variable is
defined. fixed: [ruby-dev:29554]
Revision Changes Path
1.720.2.720 +3 -3 ruby/version.h
http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/version.h?cvsroot=src&r1=1.720.2.719&r2=1.720.2.720
1.2673.2.1875 +2493 -2483 ruby/ChangeLog
http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/ChangeLog?cvsroot=src&r1=1.2673.2.1874&r2=1.2673.2.1875
1.134.2.42 +60 -5 ruby/object.c
http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/object.c?cvsroot=src&r1=1.134.2.41&r2=1.134.2.42
1.8.2.11 +2 -4 ruby/lib/date/format.rb
http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/lib/date/format.rb?cvsroot=src&r1=1.8.2.10&r2=1.8.2.11