title: disable Rubocop complaint about method
body: <p>I have a method that goes like this <code>return if amount == 0</code> and rubocop is complaining that it should be like <code>return if amount.zero?</code>. How can I have it skip over that method? Here is my .rubocop.yml:</p>
  
  <p><strong>rubocop</strong></p>
  
  <pre><code>StringLiterals:
    EnforcedStyle: double_quotes
    Enabled: true
  
  Style/FrozenStringLiteralComment:
    Enabled: false
  
  Style/TrailingCommaInLiteral:
    Enabled: false
  
  Style/TrailingCommaInArguments:
    Enabled: false
  
  Style/CaseEquality:
    Enabled: false
  
  Documentation:
    Description: "Document classes and non-namespace modules."
    Enabled: false
  
  Metrics/MethodLength:
    CountComments: false
    Max: 15
  
  Rails/Delegate:
    Enabled: false
  
  AllCops:
    Exclude:
      - db/**/*
      - config/**/*
      - script/**/*
      - vendor/**/*
      - bin/**/*
      - Rakefile
      - spec/spec_helper.rb
      - spec/rails_helper.rb
      - spec/teaspoon_env.rb
  
    TargetRubyVersion: 2.3
  
  Rails:
    Enabled: true
  </code></pre>
  
  <p><strong>submit_ticket_payment.rb</strong></p>
  
  <pre><code>def call
    return if amount == 0
    Stripe::Charge.create(
      amount: amount,
      currency: "usd",
      description: event_name,
      receipt_email: context.rsvp.email,
      source: context.token,
      statement_descriptor: event_name
    )
  rescue Stripe::StripeError
    context.fail!
  end
  </code></pre>
  
  <p>So basically how can I have it not care about that particular instance?</p>