Sha256: 8c72e4696659b1ccc663802b98ed91c378ca5fcd46cf80b1fc724bd743c9edca

Contents?: true

Size: 283 Bytes

Versions: 1

Compression:

Stored size: 283 Bytes

Contents

module YandexTranslator
  module Generators
    class InstallGenerator < Rails::Generators::Base
      source_root(File.expand_path(File.dirname(__FILE__)))
      def copy_initializer
        copy_file 'conf.rb', 'config/initializers/yandex_translator.rb'
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ps_yandex_translator-0.1.4 lib/generators/yandex_translator/install_generator.rb