class Psych::Handlers::DocumentStream
Experimental RBS support (using type sampling data from the type_fusion
project).
# sig/psych/handlers/document_stream.rbs class Psych::Handlers::DocumentStream < Psych::Handlers::Psych::TreeBuilder def end_document: (?true implicit_end) -> nil def initialize: () -> void def start_document: (Array[] version, Array[] tag_directives, false implicit) -> Psych::Nodes::Document end
:nodoc:
def end_document implicit_end = !streaming?
Experimental RBS support (using type sampling data from the type_fusion
project).
def end_document: (?true implicit_end) -> nil
This signature was generated using 2 samples from 1 application.
def end_document implicit_end = !streaming? @last.implicit_end = implicit_end @block.call pop end
def initialize &block
Experimental RBS support (using type sampling data from the type_fusion
project).
def initialize: () -> void
This signature was generated using 5 samples from 1 application.
def initialize &block super @block = block end
def start_document version, tag_directives, implicit
Experimental RBS support (using type sampling data from the type_fusion
project).
def start_document: ( version, tag_directives, false implicit) -> Psych::Nodes::Document
This signature was generated using 2 samples from 1 application.
def start_document version, tag_directives, implicit n = Nodes::Document.new version, tag_directives, implicit push n end