class RuboCop::AST::HashNode

def each_value(&block)

Returns:
  • (Enumerator) - if no block is given
  • (self) - if a block is given

Other tags:
    Note: - `kwsplat` nodes are ignored.
def each_value(&block)
  return pairs.map(&:value).to_enum unless block
  pairs.map(&:value).each(&block)
  self
end