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