From: "Jan E." Date: 2012-10-24T23:03:00+09:00 Subject: Re: Calling a method foo() or an object foo.method_call_here - both Marc Heiler wrote in post #1080941: > Your example unfortunately requires the leading name > of the object. This is not what I want, because it > would require additional typing effort. And with the > additional typing effort, the advantage of using the > code is not really there anymore. :( Well, you cannot have all at once. If you don't want to change the source code of Ruby, you have to make compromises. Either the calling syntax will change, or you'll have to prepend the object name. But like I already said, this whole idea is rather strange. What's the actual use case? Isn't there a better solution that doesn't involve messing with core functionalities of the language? If you find yourself using a lot of global methods, I think there's generally something wrong. -- Posted via http://www.ruby-forum.com/.