1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[flori/json] Fix incorrect # position in API doc

This change fixes an incorrect `#` position in the API documentation of the `JSON` module.

https://github.com/flori/json/commit/dc4b62424f
This commit is contained in:
Masafumi Koba 2020-12-23 11:20:13 +09:00 committed by Hiroshi SHIBATA
parent 1f91627c8e
commit 8a974dc83c

View file

@ -493,7 +493,7 @@ require 'json/common'
# json = JSON.generate(ruby0) # {"json_class":"Customer","v":["Dave","123 Main"]}
# ruby1 = JSON.parse(json, create_additions: true) # #<struct Customer name="Dave", address="123 Main">
# ruby1.class # Customer
#
#
# \Symbol:
# require 'json/add/symbol'
# ruby0 = :foo # foo