class RuboCop::Cop::Style::SpaceInsideHashLiteralBraces

def space_range(token_range)

def space_range(token_range)
  if token_range.source == '{'
    range_of_space_to_the_right(token_range)
  else
    range_of_space_to_the_left(token_range)
  end
end