Module: Formula

Defined in:
lib/formula.rb,
lib/formula/config.rb,
lib/formula/railtie.rb,
lib/formula/version.rb,
lib/formula/form_helper.rb,
lib/formula/form_builder.rb

Defined Under Namespace

Modules: FormHelper Classes: Config, FormBuilder, Railtie

Constant Summary collapse

VERSION =
'2.0.1'

Class Method Summary collapse

Class Method Details

.configFormula::Config

Returns:



12
13
14
# File 'lib/formula.rb', line 12

def self.config
  @config ||= Config.new
end

.configure {|Formula::Config| ... } ⇒ Object

Yields:



17
18
19
# File 'lib/formula.rb', line 17

def self.configure
  yield config
end