module MicMonitorGem module Generators class InstallGenerator < Rails::Generators::Base source_root File.expand_path('templates', __dir__) def create_file_mic_monitor_gem template 'mic_monitor_gem.rb', 'config/initializers/mic_monitor_gem.rb' end end end end