Skip to content

Instantly share code, notes, and snippets.

@eins78
Last active August 29, 2015 14:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eins78/63659e7b3e090861a556 to your computer and use it in GitHub Desktop.
Save eins78/63659e7b3e090861a556 to your computer and use it in GitHub Desktop.
For Want of a Nail

"For Want of a Nail"

Info on Wikipedia

Original Poem:

For want of a nail the shoe was lost.
For want of a shoe the horse was lost.
For want of a horse the rider was lost.
For want of a rider the message was lost.
For want of a message the battle was lost.
For want of a battle the kingdom was lost.
And all for the want of a horseshoe nail.

Stack trace version:

NoMethodError: undefined method `nail' for nil:NilClass
  from shoe:1, in `want nail`
  from horse:1, in `want show`
  from rider:1, in `want horse`
  from message:1, in `want rider`
  from battle:1, in `want message`
  from kingdom:1, in `want battle`
  from kingdom:1, in `<main>` 
[ERROR]: the kingdom was lost
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment