We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1473207 commit f47c2daCopy full SHA for f47c2da
lib/scorpio/json/node.rb
@@ -57,7 +57,7 @@ def deref
57
58
match = content['$ref'].match(/\A#/)
59
if match
60
- return self.class.new_by_type(document, Hana::Pointer.parse(match.post_match))
+ return self.class.new_by_type(document, Hana::Pointer.parse(match.post_match)).deref
61
end
62
63
#raise(NotImplementedError, "cannot dereference #{content['$ref']}") # TODO
0 commit comments