Update RBI files for plist.
This commit is contained in:
parent
e75f591dee
commit
ff2de4ca56
@ -1,6 +1,6 @@
|
||||
# DO NOT EDIT MANUALLY
|
||||
# This is an autogenerated file for types exported from the `plist` gem.
|
||||
# Please instead update this file by running `tapioca generate --exclude json`.
|
||||
# Please instead update this file by running `tapioca sync`.
|
||||
|
||||
# typed: true
|
||||
|
||||
@ -15,36 +15,35 @@ module Plist::Emit
|
||||
def to_plist(envelope = T.unsafe(nil), options = T.unsafe(nil)); end
|
||||
|
||||
class << self
|
||||
def comment(content); end
|
||||
def dump(obj, envelope = T.unsafe(nil), options = T.unsafe(nil)); end
|
||||
def element_type(item); end
|
||||
def plist_node(element, options = T.unsafe(nil)); end
|
||||
def save_plist(obj, filename, options = T.unsafe(nil)); end
|
||||
def tag(type, contents = T.unsafe(nil), options = T.unsafe(nil), &block); end
|
||||
def wrap(contents); end
|
||||
end
|
||||
end
|
||||
|
||||
Plist::Emit::DEFAULT_INDENT = T.let(T.unsafe(nil), String)
|
||||
|
||||
class Plist::Emit::IndentedString
|
||||
def initialize(str = T.unsafe(nil)); end
|
||||
class Plist::Emit::PlistBuilder
|
||||
def initialize(indent_str); end
|
||||
|
||||
def <<(val); end
|
||||
def indent_string; end
|
||||
def indent_string=(_); end
|
||||
def lower_indent; end
|
||||
def raise_indent; end
|
||||
def to_s; end
|
||||
def build(element, level = T.unsafe(nil)); end
|
||||
|
||||
private
|
||||
|
||||
def comment_tag(content); end
|
||||
def data_tag(data, level); end
|
||||
def element_type(item); end
|
||||
def indent(str, level); end
|
||||
def tag(type, contents, level, &block); end
|
||||
end
|
||||
|
||||
class Plist::Listener
|
||||
def initialize; end
|
||||
|
||||
def open; end
|
||||
def open=(_); end
|
||||
def open=(_arg0); end
|
||||
def result; end
|
||||
def result=(_); end
|
||||
def result=(_arg0); end
|
||||
def tag_end(name); end
|
||||
def tag_start(name, attributes); end
|
||||
def text(contents); end
|
||||
@ -94,9 +93,9 @@ class Plist::PTag
|
||||
def initialize; end
|
||||
|
||||
def children; end
|
||||
def children=(_); end
|
||||
def children=(_arg0); end
|
||||
def text; end
|
||||
def text=(_); end
|
||||
def text=(_arg0); end
|
||||
def to_ruby; end
|
||||
|
||||
class << self
|
||||
@ -119,6 +118,8 @@ class Plist::StreamParser
|
||||
def parse_encoding_from_xml_declaration(xml_declaration); end
|
||||
end
|
||||
|
||||
Plist::StreamParser::CDATA = T.let(T.unsafe(nil), Regexp)
|
||||
|
||||
Plist::StreamParser::COMMENT_END = T.let(T.unsafe(nil), Regexp)
|
||||
|
||||
Plist::StreamParser::COMMENT_START = T.let(T.unsafe(nil), Regexp)
|
||||
@ -127,6 +128,11 @@ Plist::StreamParser::DOCTYPE_PATTERN = T.let(T.unsafe(nil), Regexp)
|
||||
|
||||
Plist::StreamParser::TEXT = T.let(T.unsafe(nil), Regexp)
|
||||
|
||||
Plist::StreamParser::UNIMPLEMENTED_ERROR = T.let(T.unsafe(nil), String)
|
||||
|
||||
Plist::StreamParser::XMLDECL_PATTERN = T.let(T.unsafe(nil), Regexp)
|
||||
|
||||
class Plist::UnimplementedElementError < ::RuntimeError
|
||||
end
|
||||
|
||||
Plist::VERSION = T.let(T.unsafe(nil), String)
|
||||
Loading…
x
Reference in New Issue
Block a user