brew/Library/Homebrew/extend/hash/deep_transform_values.rbi
Patrick Linnane 4513a43d53
Fix RuboCop failures.
Co-authored-by: Patrick Linnane <patrick@linnane.io>
Co-authored-by: Carlo Cabrera <github@carlo.cab>
Co-authored-by: Thierry Moisan <thierry.moisan@gmail.com>
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2025-07-14 19:12:38 +01:00

18 lines
464 B
Ruby

# 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
end