Module: FormCutter

Defined in:
lib/form_cutter.rb,
lib/form_cutter/version.rb,
lib/generators/form_cutter/install_generator.rb,
lib/form_cutter/action_view_extensions/builder.rb,
lib/form_cutter/action_view_extensions/form_helper.rb

Defined Under Namespace

Modules: ActionViewExtensions, Generators

Constant Summary collapse

VERSION =
"1.0.0".freeze
@@forms_path =
'forms'
@@reports_path =
'reports'

Class Method Summary collapse

Class Method Details

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

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

Yields:

  • (_self)

Yield Parameters:

  • _self (FormCutter)

    the object that the method was called on



15
16
17
# File 'lib/form_cutter.rb', line 15

def self.setup
  yield self
end