Permalink
Browse files

fix example: use `done` instead od `close`

  • Loading branch information...
1 parent ec2dbe5 commit 2c81d7480844af852902afb83079e58cd20764d6 @mfilej mfilej committed Mar 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 examples/parse_and_output_json.rb
@@ -15,5 +15,5 @@
parser.parse(IO.read(path), path, 0)
end
-formatter.close
+formatter.done
puts JSON.pretty_generate(JSON.parse(io.string))

0 comments on commit 2c81d74

Please sign in to comment.