Skip to content

Instantly share code, notes, and snippets.

@yuki24
Created July 9, 2012 19:59
Show Gist options
  • Save yuki24/3078543 to your computer and use it in GitHub Desktop.
Save yuki24/3078543 to your computer and use it in GitHub Desktop.
Which is wrong, me or Hashie?
require 'rubygems'
require 'hashie'
class Foo < Hashie::Mash
def initialize(arg, options = {})
options[:key]
super(options)
end
end
Foo.new(1).dup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment