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 @earth = Universe.galaxies.find_by_name("Milky Way").solar_system.planets @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! :)