Created
June 8, 2011 05:05
-
-
Save gmarik/1013813 to your computer and use it in GitHub Desktop.
results
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
whose-bug$ bundle exec ruby test.rb | |
{ | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'hashie' | |
require 'json' | |
# If this works, the problem is solved. | |
# If it raises NoMethodError: undefined method `merge' then you've hit the bug | |
puts JSON.pretty_generate Hashie::Mash.new |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment