Class: ModelsGenerator::Configuration

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

Overview

need a Class for 3.0

Instance Method Summary collapse

Instance Method Details

#param_nameObject



23
24
25
# File 'lib/models_generator/config.rb', line 23

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