# File lib/simple_form.rb, line 206
  def self.setup
    yield self

    unless @@deprecated.empty?
      raise "[SIMPLE FORM] Your SimpleForm initializer file is using the following methods: #{@@deprecated.to_sentence}. " <<
        "Those methods are part of the outdated configuration API. Updating to the new API is easy and fast. " <<
        "Check for more info here: https://github.com/plataformatec/simple_form/wiki/Upgrading-to-Simple-Form-2.0"
    end
  end