Sha256: 798dcac9860c9daa2b3120f1e0cdf0cd35a95e25e23b6057bed2221aac56a22c
Contents?: true
Size: 373 Bytes
Versions: 11
Compression:
Stored size: 373 Bytes
Contents
# frozen_string_literal: true module Totoro class InitGenerator < Rails::Generators::Base source_root File.expand_path('templates', __dir__) desc 'Generate totoro config file' def copy_config_file template 'totoro.yml', File.join('config', 'totoro.yml') template 'initializer.rb', File.join('config/initializers', 'totoro.rb') end end end
Version data entries
11 entries across 11 versions & 1 rubygems