class Psych::Nodes::Document

def initialize version = [], tag_directives = [], implicit = false

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

def initialize: (?Array[] version, ?Array[] tag_directives, ?false implicit) -> void

This signature was generated using 7 samples from 1 application.

See also Psych::Handler#start_document
== See Also

)
true
[["!", "tag:tenderlovemaking.com,2009:"]],
[1,1],
Psych::Nodes::Document.new(

with one tag directive, and has an implicit start:
This creates a YAML document object that represents a YAML 1.1 document
== Example:

started.
+implicit+ is a flag indicating whether the document will be implicitly
+tags_directives+ is a list of tag directive declarations
+version+ is a list indicating the YAML version.

Create a new Psych::Nodes::Document object.
##
def initialize version = [], tag_directives = [], implicit = false
  super()
  @version        = version
  @tag_directives = tag_directives
  @implicit       = implicit
  @implicit_end   = true
end