Skip to content

v0.2.0

@afred afred tagged this 27 Oct 05:23
The monkey patch adds instance method Hash#fn, which returns a copy of the hash
as a FunctionalHash.

Example:

    regular_hash = {a: -> { "hello" } }
    regular_hash[:a]
    # => #<Proc ... >
    FunctionalHash.enable!
    regular_hash.fn[:a]
	# => "hello"

Also...

  * loads Gemfile.dev from Gemfile, and .gitignores Gemfile.dev.

Version bump to v0.2.0
Assets 2
Loading