vendor/bundle/ruby/2.6.0/gems/rubocop-ast-1.18.0/lib/rubocop/ast/node/pair_node.rb
# Returns the delimiter of the `pair` as a string. Returns `=>` for a
# colon delimited `pair` and `:` for a hash rocket delimited `pair`.
#
# @param [Boolean] with_spacing whether to include spacing
# @return [String] the delimiter of the `pair`
Returns the delimiter of the `pair` as a string.
Returns the delimiter of the ` pair ` as a string .
def delimiter(*deprecated, with_spacing: deprecated.first)
        if with_spacing
          hash_rocket? ? SPACED_HASH_ROCKET : SPACED_COLON
        else
          hash_rocket? ? HASH_ROCKET : COLON
        end
      end
def delimiter ( * deprecated , with_spacing : deprecated . first ) if with_spacing hash_rocket? ? SPACED_HASH_ROCKET : SPACED_COLON else hash_rocket? ? HASH_ROCKET : COLON end end
Returns the delimiter of the `pair` as a string.
Returns the delimiter of the ` pair ` as a string .
the delimiter of the `pair`
the delimiter of the ` pair `
String
deprecated
with_spacing
first
with_spacing whether to include spacing
with_spacing whether to include spacing