Sha256: 050cc6dd30c66141bf4c6c67bb6fe3e92e6c98d67d329265fb8164edfcd3cc7e
Contents?: true
Size: 579 Bytes
Versions: 5
Compression:
Stored size: 579 Bytes
Contents
module MailyHerald module Generators class InstallGenerator < Rails::Generators::Base source_root File.expand_path("../../templates", __FILE__) desc "Creates a MailyHerald initializer and copy locale files to your application." def copy_initializer template "maily_herald.rb", "config/initializers/maily_herald.rb" end def copy_locale copy_file "../../../config/locales/en.yml", "config/locales/maily_herald.en.yml" end def show_readme readme "README" if behavior == :invoke end end end end
Version data entries
5 entries across 5 versions & 1 rubygems