23 lines
732 B
Plaintext
23 lines
732 B
Plaintext
|
|
# 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
|