From: Dave Thomas Date: 2000-07-15T00:41:57-05:00 Subject: [ruby-talk:04031] Re: Pluggable functions and blocks Morning, Matz: matz@netlab.co.jp (Yukihiro Matsumoto) writes: > For example, > > String.instance_method(:clone).call("a") #=> cloned string "a" > Class.instance_method(:new).call("a") #=> TypeError I'm wondering - what is the semantics of this? Is the parameter substituted for 'self' in the call, or is it an argument to the constructor of the original class (or something else entirely)? How do you differentiate parameters that are to be passed to the method itself? Guess it's just late and I'm being particularly dense. Dave