Sha256: cc258db7d2d516407851f988d955bc6d8014baab3ba45ad1fd462163d789218b
Contents?: true
Size: 515 Bytes
Versions: 8
Compression:
Stored size: 515 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 end end end
Version data entries
8 entries across 8 versions & 1 rubygems