Skip to content

Instantly share code, notes, and snippets.

@sllvn
Created February 6, 2013 22:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sllvn/4726304 to your computer and use it in GitHub Desktop.
Save sllvn/4726304 to your computer and use it in GitHub Desktop.
[83] pry(main)> reader.objects[2].instance_of? Hash
=> true
[84] pry(main)> reader.objects.select { |x| x.instance_of? Hash }
=> []
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment