method
accept
v2_2_9 -
Show latest stable
- Class:
Psych::Visitors::JSONTree
accept(target)public
No documentation available.
# File ext/psych/lib/psych/visitors/json_tree.rb, line 15
def accept target
if target.respond_to?(:encode_with)
dump_coder target
else
send(@dispatch_cache[target.class], target)
end
end