Sha256: 585801993819ff53ade687f36f064ccad2d6a455825d5eec58eede0de2e286e4
Contents?: true
Size: 309 Bytes
Versions: 225
Compression:
Stored size: 309 Bytes
Contents
# frozen_string_literal: true module RuboCop module Cop # Classes that include this module just implement functions for working # with symbol nodes. module SymbolHelp def hash_key?(node) node.parent&.pair_type? && node == node.parent.child_nodes.first end end end end
Version data entries
225 entries across 216 versions & 21 rubygems