Sha256: a64bf8a15e14255e112d82e88584ec528a7ea9edf36c7a0c51fc6f7ec5153d6f

Contents?: true

Size: 334 Bytes

Versions: 1

Compression:

Stored size: 334 Bytes

Contents

require 'rails/generators'

module Tongues
  class TonguesGenerator < Rails::Generators::Base
    source_root File.expand_path('../templates', __FILE__)

    desc 'This generator creates an initializer for the api key.'
    def copy_initializer_file
      copy_file 'initializer.rb', 'config/initializers/tongues.rb'
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tongues-0.0.8 lib/generators/initializer/tongues_generator.rb