Sha256: c1545d1c544a080e8d69be5ad71cfbc72b7e7c6778246632585b94f80923acd8

Contents?: true

Size: 286 Bytes

Versions: 2

Compression:

Stored size: 286 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/ps_yandex_translator.rb'
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ps_yandex_translator-0.1.7 lib/generators/ps_yandex_translator/install_generator.rb
ps_yandex_translator-0.1.6 lib/generators/ps_yandex_translator/install_generator.rb