It's been a long time, shame. March 26th, 2008

Here's a special gift.

def self.return_url_for(subdomain)
  'http://' + ({'att-yahoo' => 'sbc.yahoo.com'}[subdomain] || 'sbc.yahoo.com')
end

4 Responses to “It's been a long time, shame.”

  1. former boss Steve Says:
    Wow... so, unless I'm completely mistaken, thats just an overlycomplicated way of always returning 'http://sbc.yahoo.com', right?
  2. jacob Says:
    YES! Isn't it GLORIOUS!?!
  3. Austin Says:
    good times had by all.
  4. professional spelunker Jer Says:
    It only works for http too, other protocols and subdomains are not allowed!

Sorry, comments are closed for this article.