method
new
v2_4_6 -
Show latest stable
- Class:
Psych::Visitors::YAMLTree
new(emitter = nil, ss = nil, options = nil)public
No documentation available.
# File ext/psych/lib/psych/visitors/yaml_tree.rb, line 56
def self.new emitter = nil, ss = nil, options = nil
return super if emitter && ss && options
if $VERBOSE
warn "This API is deprecated, please pass an emitter, scalar scanner, and options or call #{self}.create() (#{caller.first})"
end
create emitter, ss
end