Skip to content

Instantly share code, notes, and snippets.

View dissolved's full-sized avatar

Ryan Sandridge dissolved

View GitHub Profile
@dissolved
dissolved / no_such_thing.rb
Created February 23, 2012 16:21 — forked from bokmann/no_such_thing.rb
The code of the talk from my Feb 22nd Arlington Ruby talk 'There is No Such Thing as Metaprogramming'.
# This is the code from my 'There is No Such Thing as Metaprogramming' talk,
# which premiered at the Arlington, VA Ruby Users Group on Feb 22nd.
# Without the deliver and walk-through to the solution below this example
# will be missing quite an important bit of content (mainly the tracking of
# 'self' while developing the solution, but it still a useful read.
# Here is the Toddler with no metajuju. Note that the developer, as well as
# the code, is completely unuaware of the interpreter. A developer with a
# background in compiled languages would be comfortable looking at this.