2024-01-11 20:03:06 -08:00
|
|
|
# typed: strict
|
|
|
|
|
|
|
|
class Hash
|
|
|
|
sig {
|
2025-07-14 14:48:08 +01:00
|
|
|
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)])
|
2024-01-11 20:03:06 -08:00
|
|
|
}
|
|
|
|
def deep_transform_values(&block); end
|
2024-01-12 09:38:49 -08:00
|
|
|
|
2024-01-11 20:03:06 -08:00
|
|
|
sig {
|
2025-07-14 14:48:08 +01:00
|
|
|
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)])
|
2024-01-11 20:03:06 -08:00
|
|
|
}
|
|
|
|
def deep_transform_values!(&block); end
|
|
|
|
end
|