Sha256: 13153756c83687cbf37b5d3c4c87a65b7d0836575f2f1dbf4bd8b28241b75e06
Contents?: true
Size: 283 Bytes
Versions: 3
Compression:
Stored size: 283 Bytes
Contents
# frozen_string_literal: true class InitializerGenerator < Rails::Generators::NamedBase source_root File.expand_path('../templates', __FILE__) def copy_initializer_file copy_file('initializer.rb', File.join('config/initializers', class_path, "#{file_name}.rb")) end end
Version data entries
3 entries across 3 versions & 1 rubygems