D
deanwampler
Note: parts of this message were removed by the gateway to make it a legal Usenet post.
Suppose that:
class C; end
c = C.new
sing = (class << c; self; end)
If a method is called with C and sing, but I don't know which is first and
which is second in the parameter list, how do I tell them apart?
Thanks,
dean
--
Dean Wampler
http://www.objectmentor.com
http://www.aspectprogramming.com
http://aquarium.rubyforge.org
http://www.contract4j.org
Suppose that:
class C; end
c = C.new
sing = (class << c; self; end)
If a method is called with C and sing, but I don't know which is first and
which is second in the parameter list, how do I tell them apart?
Thanks,
dean
--
Dean Wampler
http://www.objectmentor.com
http://www.aspectprogramming.com
http://aquarium.rubyforge.org
http://www.contract4j.org