Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 2c81d7480844af852902afb83079e58cd20764d6 1 parent ec2dbe5
Miha Filej mfilej authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  examples/parse_and_output_json.rb
2  examples/parse_and_output_json.rb
View
@@ -15,5 +15,5 @@
parser.parse(IO.read(path), path, 0)
end
-formatter.close
+formatter.done
puts JSON.pretty_generate(JSON.parse(io.string))
Please sign in to comment.
Something went wrong with that request. Please try again.