class RuboCop::AST::PairNode
def inverse_delimiter(*deprecated, with_spacing: deprecated.first)
-
(String)
- the inverse delimiter of the `pair`
Parameters:
-
with_spacing
(Boolean
) -- whether to include spacing
def inverse_delimiter(*deprecated, with_spacing: deprecated.first) if with_spacing hash_rocket? ? SPACED_COLON : SPACED_HASH_ROCKET else hash_rocket? ? COLON : HASH_ROCKET end end