method
create
v2_1_10 -
Show latest stable
- Class:
Psych::Visitors::YAMLTree
create(options = {})public
No documentation available.
# File ext/psych/lib/psych/visitors/yaml_tree.rb, line 43
def self.create options = {}, emitter = nil
emitter ||= TreeBuilder.new
class_loader = ClassLoader.new
ss = ScalarScanner.new class_loader
new(emitter, ss, options)
end