New post: Ruby Memoization

Just an observation: If this is being done on a new irb session, it will always raise a NameError, for x is not yet defined beforehand.