Sha256: 49626f2f08eb6ac7f9f36aeb46ca00844ebbcd810185c06fad392dbb778d60f3
Contents?: true
Size: 535 Bytes
Versions: 5
Compression:
Stored size: 535 Bytes
Contents
require 'securerandom' require 'rails/generators' require 'rails/generators/migration' module ExpressTranslate class InstallGenerator < Rails::Generators::Base source_root File.expand_path("../templates", __FILE__) include ExpressTranslate # Copy config file for my gem def create_file_config template "config/express_translate.yml", "config/express_translate.yml" end # Seed data for redis database def seeds_data ExpressTranslate.seeds Account.reset end end end
Version data entries
5 entries across 5 versions & 1 rubygems