brew/Library/Homebrew/extend/hash/deep_transform_values.rbi

23 lines
732 B
Plaintext
Raw Normal View History

# typed: strict
class Hash
sig {
type_parameters(:out).params(
block: T.proc.params(o: Hash::V).returns(T.type_parameter(:out))
).returns(T::Hash[Hash::K, T.type_parameter(:out)])
}
def deep_transform_values(&block); end
sig {
type_parameters(:out).params(
block: T.proc.params(o: Hash::V).returns(T.type_parameter(:out))
).returns(T::Hash[Hash::K, T.type_parameter(:out)])
}
def deep_transform_values!(&block); end
sig { params(object: T.anything, block: T.untyped).returns(T.untyped) }
def _deep_transform_values_in_object(object, &block); end
sig { params(object: T.anything, block: T.untyped).returns(T.untyped) }
def _deep_transform_values_in_object!(object, &block); end
end