Class: RealtimeValidations::Generators::InstallGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/realtime_validations/install_generator.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#copy_initializer_fileObject



15
16
17
18
# File 'lib/generators/realtime_validations/install_generator.rb', line 15

def copy_initializer_file
  copy_file 'initializer.rb', 'config/initializers/realtime_validations_initializer.rb'
  copy_file 'realtime_validations.custom.js', 'app/assets/javascripts/realtime_validations.custom.js'
end