class RuboCop::Cop::Layout::FirstHashElementIndentation
def check(hash_node, left_parenthesis)
def check(hash_node, left_parenthesis) return if ignored_node?(hash_node) left_brace = hash_node.loc.begin first_pair = hash_node.pairs.first if first_pair return if same_line?(first_pair, left_brace) if separator_style?(first_pair) check_based_on_longest_key(hash_node, left_brace, left_parenthesis) else check_first(first_pair, left_brace, left_parenthesis, 0) end end check_right_brace(hash_node.loc.end, first_pair, left_brace, left_parenthesis) end