Sha256: ddc342cdbdd638df0b75aed41e15cc91f42ce0972f521677ff7b6eca336bab42
Contents?: true
Size: 342 Bytes
Versions: 12
Compression:
Stored size: 342 Bytes
Contents
require 'rails/generators' # Generates gem initializer # # rails g smart_table:init # module SmartTable class InitGenerator < Rails::Generators::Base source_root File.expand_path('../templates', __FILE__) def copy_initializer copy_file 'smart_table_initializer.rb', 'config/initializers/smart_table.rb' end end end
Version data entries
12 entries across 12 versions & 1 rubygems