Sha256: 39cb86111bcfaf700ff3e3e582346da854dc5d32eebdfd0d66b5535a7d4fcf93
Contents?: true
Size: 472 Bytes
Versions: 34
Compression:
Stored size: 472 Bytes
Contents
module ValidatesTimeliness module Generators class InstallGenerator < Rails::Generators::Base desc "Copy ValidatesTimeliness default files" source_root File.expand_path('../templates', __FILE__) def copy_initializers copy_file 'validates_timeliness.rb', 'config/initializers/validates_timeliness.rb' end def copy_locale_file copy_file 'en.yml', 'config/locales/validates_timeliness.en.yml' end end end end
Version data entries
34 entries across 34 versions & 6 rubygems