RubyFlow The Ruby and Rails community linklog

Implement a Lazy Hash in Ruby

Create a Hash that self propagates when you access keys that don’t exist yet. I give a few demonstrations of smarter Hashes that work with invalid, or partial, key entry. http://6ftdan.com/allyourdev/2015/11/13/implement-a-lazy-hash-in-ruby/

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in