class Psych::Nodes::Stream

Experimental RBS support (using type sampling data from the type_fusion project).

# sig/psych/nodes/stream.rbs

class Psych::Nodes::Stream < Psych::Nodes::Psych::Nodes::Node
  def initialize: () -> void
end

child node for a Psych::Nodes::Stream node is Psych::Nodes::Document.
tree. This node must have one or more child nodes. The only valid
Represents a YAML stream. This is the root node for any YAML parse
##

def initialize encoding = UTF8

Experimental RBS support (using type sampling data from the type_fusion project).

def initialize: () -> void

This signature was generated using 2 samples from 1 application.

See also Psych::Handler#start_stream

defaults to Psych::Nodes::Stream::UTF8.
Create a new Psych::Nodes::Stream node with an +encoding+ that
##
def initialize encoding = UTF8
  super()
  @encoding = encoding
end

def stream?; true; end

def stream?; true; end