|
From: <ki...@us...> - 2009-06-09 12:00:50
|
Revision: 2234
http://rubycocoa.svn.sourceforge.net/rubycocoa/?rev=2234&view=rev
Author: kimuraw
Date: 2009-06-09 12:00:48 +0000 (Tue, 09 Jun 2009)
Log Message:
-----------
2009-06-09 kimura wataru <kimuraw@i.nifty.jp>
* framework/src/objc/RBObject.m,
framework/src/objc/mdl_objwrapper.m,
tests/tc_passbyref.rb, tests/tc_subclass.rb:
make to programs written with strict syntax behave same whether
OSX.relaxed_syntax is true or not.
prefer always methods with the last charactor "_" when invoke ruby
method from objective-c.
ex)
relaxed_syntax = true
[rbobj foo:arg] # rbobj has "foo_" and "foo" => call "foo_"
# rbobj has only "foo" => call "foo"
relaxed_syntax = false
[rbobj foo:arg] # rbobj has "foo_" and "foo" => call "foo_"
# rbobj has only "foo" => raise an exception
Modified Paths:
--------------
trunk/src/ChangeLog
trunk/src/framework/src/objc/RBObject.m
trunk/src/framework/src/objc/mdl_objwrapper.m
trunk/src/tests/tc_passbyref.rb
trunk/src/tests/tc_subclass.rb
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|