Fixed method invocation style using rubocop autocorrect