brew/Library/Homebrew/sorbet/rbi/gems/warning@1.2.1.rbi

28 lines
683 B
Plaintext
Raw Normal View History

# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `warning` gem.
2021-09-17 19:28:50 +01:00
# Please instead update this file by running `bin/tapioca gem warning`.
# typed: true
2021-09-10 21:21:17 +01:00
module Warning
extend ::Warning
extend ::Warning::Processor
end
module Warning::Processor
def clear; end
def dedup; end
def freeze; end
def ignore(regexp, path = T.unsafe(nil)); end
def process(path = T.unsafe(nil), actions = T.unsafe(nil), &block); end
def warn(str); end
private
def convert_regexp(regexp); end
def synchronize(&block); end
end
Warning::Processor::ACTION_PROC_MAP = T.let(T.unsafe(nil), Hash)
Warning::Processor::IGNORE_MAP = T.let(T.unsafe(nil), Hash)