mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
[ruby/json] Fix a typo
ruby/ruby#13636
6fc2c4b6ab
Co-Authored-By: Tim Smith <tsmith84@gmail.com>
This commit is contained in:
parent
8992689118
commit
e9d35671d2
1 changed files with 1 additions and 1 deletions
|
@ -268,7 +268,7 @@ module JSON
|
|||
# to string interpolation.
|
||||
#
|
||||
# Note: no validation is performed on the provided string. It is the
|
||||
# responsability of the caller to ensure the string contains valid JSON.
|
||||
# responsibility of the caller to ensure the string contains valid JSON.
|
||||
Fragment = Struct.new(:json) do
|
||||
def initialize(json)
|
||||
unless string = String.try_convert(json)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue