Class: AwesomeFormAttributes::Configuration

Inherits:
Object
  • Object
show all
Includes:
ActiveSupport::Configurable
Defined in:
lib/awesome_form_attributes/config.rb

Instance Method Summary collapse

Instance Method Details

#param_nameObject



25
26
27
# File 'lib/awesome_form_attributes/config.rb', line 25

def param_name
  config.param_name.respond_to?(:call) ? config.param_name.call : config.param_name
end