brew/Library/Homebrew/sorbet/rbi/gems/warning@1.3.0.rbi
2022-07-14 18:10:45 +00:00

28 lines
683 B
Ruby

# typed: true
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `warning` gem.
# Please instead update this file by running `bin/tapioca gem warning`.
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)