Method: SimpleForm.setup

Defined in:
lib/simple_form.rb

.setup {|_self| ... } ⇒ Object

Default way to setup SimpleForm. Run rails generate simple_form:install to create a fresh initializer with all configuration values.

Yields:

  • (_self)

Yield Parameters:

  • _self (SimpleForm)

    the object that the method was called on



115
116
117
# File 'lib/simple_form.rb', line 115

def self.setup
  yield self
end