This class handles dynamic methods through the method_missing method
#method_missing(meth, *args) ⇒ Object
11
12
13
14
15
16
17
18
19
# File 'lib/cocoa/extensions.rb', line 11defmethod_missingmeth,*argsifCocoa::NSString.method_defined?(meth)str=Cocoa::NSString.new(true)str.object=ObjC.String_to_NSString(self)str.send(meth,*args)elsesuperendend