Sha256: 38b82bb0be20f526da80f70099e2990e6e73bf0a88cef51152e7515e03fdeeb2
Contents?: true
Size: 339 Bytes
Versions: 5
Compression:
Stored size: 339 Bytes
Contents
class YoudaoFanyi::InstallGenerator < Rails::Generators::Base source_root File.expand_path('../templates', __FILE__) def create_yml_file template "youdao_fanyi_api_keys.yml", 'config/youdao_fanyi_api_keys.yml' end def create_initializer_file template "youdao_fanyi.rb", 'config/initializers/youdao_fanyi.rb' end end
Version data entries
5 entries across 5 versions & 1 rubygems