class RuboCop::Cop::Style::AlignHash

def ignore_last_argument_hash?(node)

def ignore_last_argument_hash?(node)
  case cop_config['EnforcedLastArgumentHashStyle']
  when 'always_inspect'  then false
  when 'always_ignore'   then true
  when 'ignore_explicit' then explicit_hash?(node)
  when 'ignore_implicit' then !explicit_hash?(node)
  end
end