```ruby
# frozen_string_literal: true

#
# Spam related functionality
#
module Spamable
  def self.included(base)
    base.class_eval do
      scope :spam, -> { where(spam: true) }
      scope :not_spam, -> { where(spam: false) }
    end
  end

  #
  # @todo We'll want to include something more sophisticated here, like a
  # Bayesian classifier.
  #
  def check_spam!
    opinion = spammed?(title) || spammed?(body)

    update!(spam: opinion)

    opinion
  end

  def toggle_spam!
    toggle!(:spam)
  end

  private

  def spammed?(text)
    Regexp.new('regalo de campista', Regexp::IGNORECASE).match(text).present?
  end
end
```

Move comment to the module level
user
```ruby
# frozen_string_literal: true

#
# Spam related functionality
#
# @todo We'll want to include something more sophisticated here, like a Bayesian
# classifier.
#
module Spamable
  def self.included(base)
    base.class_eval do
      scope :spam, -> { where(spam: true) }
      scope :not_spam, -> { where(spam: false) }
    end
  end

  def check_spam!
    opinion = spammed?(title) || spammed?(body)

    update!(spam: opinion)

    opinion
  end

  def toggle_spam!
    toggle!(:spam)
  end

  private

  def spammed?(text)
    Regexp.new('regalo de campista', Regexp::IGNORECASE).match(text).present?
  end
end
```
assistant