08 Jun '13, 10pm

Private method called

Here, I’d expect ruby to throw up with “private method `secret’ called for # (NoMethodError)” error. But it just leans over to method_missing() . That kinda makes sense, considering Ruby completely hides private methods and throws NoMethodError. But playing around with this a little more, I realize that method_missing() acts the same way, even if it’s defined public or protected or private . So why not just use these visibility scoping to make it act a little better – e.g. lean over to parent’s class method_mising() for a private method called only if method_missing() visibility is public – and some more similar rules ?

Full article: http://m.onkey.org/private-method-called

Tweets

U.S.-China Breakthrough on Curbing Super Greenh...

switchboard.nrdc.org 08 Jun '13, 9pm

President Obama and President Xi announced a breakthrough in bilateral cooperation on climate change today, by agreeing to...

Private loftbed room at lavender near bugis city

rentinsingapore.com 09 Jun '13, 11am

private loftbed room at lavender near bugis city $800/month, strictly for 1 pax rent inclusive of utilities bills, no agen...

Apple called "facilitator" of ebook pricing shift - Channel News Asia #AppleNews

Apple called "facilitator" of ebook pricing shi...

channelnewsasia.com 07 Jun '13, 4am

NEW YORK: Apple was accused of being a "facilitator" and "go-between" of a publishing industry shift that led to higher e-...

Have You Downloaded Google’s App, Called ‘Keep’ Yet? by @smorgs13

Have You Downloaded Google’s App, Called ‘Keep’...

searchenginejournal.com 08 Jun '13, 12am

Google is on a roll when it comes to mobile applications. First they come out with the new Google + Local app , now they c...

The latest exhibition at the @thecobgallery is ...

tatler.com 10 Jun '13, 11am

The latest exhibition at the Cob Gallery is a dream - literally! You see, Guts for Garters has teamed up with the gallery ...

Donuts Loses 3rd Private Auction As Their Appli...

thedomains.com 08 Jun '13, 2am

It appears that Donuts has lost is 3rd private auction as their application for the new gTLD .College was withdrawn from I...

Donuts Loses 3rd Private Auction As Their Appli...

thedomains.com 08 Jun '13, 2am

It appears that Donuts has lost is 3rd private auction as their application for the new gTLD .College was withdrawn from I...

Furnished Master Room With Private Entrance In ...

rentinsingapore.com 08 Jun '13, 7am

*** master room with aircon & private entrance *** fully furnished with own fridge, microwave oven & led tv *** free parki...

Printing method paves way for high power organi...

newelectronics.co.uk 04 Jun '13, 8am

The researchers, in collaboration with Stanford University, have so far demonstrated thin films that can conduct electrici...

Expert highlights better fitness, running method for airmen

Expert highlights better fitness, running metho...

airforcetimes.com 28 May '13, 7pm

Dr. Mark Cucuzzella knows what it’s like to be so injured from running that he was told by doctors to give up the sport. I...

Jeff Berwick, The Dollar Vigilante Bitcoin The ...

youtube.com 07 Jun '13, 4pm

Close Your browser is not supported by YouTube and it needs to be updated. Learn more . Jeff Berwick, The Dollar Vigilante...

First Private Auction Used To Determine Right T...

domainnews.com 07 Jun '13, 3am

The contentious private auctions for the rights to new gTLDs has got underway with the first auction being used to determi...

Pain May Come Before Gain for Private Banking i...

cnbc.com 06 Jun '13, 1am

Private banks in the Asian financial hub, Singapore, are the next target of tighter regulations after the crackdown in the...