The Lord's Prayer, for coders

The following comes from a funny (and slightly weird) conversation i had on a walk with a colleague this afternoon. This is literally the way we often talk when we go out for our walks around the fields of Barton Farm! One day we're probably going to have a day when we only speak in Ruby!

@heaven = Heaven.instance
@father = God.trinity[0]
@earth = Universe.galaxies.find_by_name("Milky Way").solar_system.planets[2]
 
@father.open_connection do
  @father.current_location.should == @heaven
  @father.name.should be_hallowed
 
  kingdom = mock_model(Kingdom)
  Kingdom.stub!(:new_for).with(@father).and_return(kingdom)
  kingdom.should_receive(:come!).and_return(true)
  @earth.should be_like(@heaven)
 
  @earth.current_population.each do |person|
    person.should_receive(:bread).daily
    @father.should_forgive(person) && person.should_forgive(:others)
    @father.should_not lead(person).into(:temptation)
    @father.should deliver(person).from(:evil)
  end
 
  while true do
    [Kingdom, Power, Glory].collect do |klass|
      klass.all.should be_attributed_to(@father)
    end
  end
end

Shame i haven't updated for such a long time. I was unable to log into my blog for a while, and even when i fixed it i couldn't think of anything to write to make a suitable come-back! Hopefully this satisfies! :)

Posted: October 21st, 2009
Categories: amusing, geeky
Comments: View Comments.
  • This sure cracked me up lol! And it makes perfects sence! Ah, the art.
  • Designsmith
    it was all to much to avoid.
    a post on my birthday, and better - the first reference to "ruby-on-rails" that i have seen in a post.
    for some reason i have noticed it a lot recently. karma. i am going to investigate.
    rob
  • This is an interesting posting you've got here. I love this blog
  • Gr8!! idea and a great blog. I appreciate your work & hope for some more informative information.
  • educationgrants
    This is an interesting posting you've got here. I love this blog, I bookmarked a while ago and have enjoyed many great postings. Cheers.
  • I think that the information presented should be useful to many people a lot.
  • lol ... somehow i doubt it! unless it inspires people to learn RSpec!
    i know this is a spam comment but i quite like it so i'm keeping it.
  • ::laughing::

    very ingenious!

    good to see you "back" :-)
  • Thanks Jennifer! :D

    2009/10/22 Disqus <>
blog comments powered by Disqus