Sha256: 32bd324638fbd40aad03326684c2dfe2983821ccddc5e581ea7c5e22d07e72df

Contents?: true

Size: 327 Bytes

Versions: 2

Compression:

Stored size: 327 Bytes

Contents

module Federails
  class InstallGenerator < Rails::Generators::Base
    source_root File.expand_path('templates', __dir__)

    def copy_files
      copy_file 'federails.yml', Rails.root.join('config', 'federails.yml')
      copy_file 'federails.rb', Rails.root.join('config', 'initializers', 'federails.rb')
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
federails-0.4.0 lib/generators/federails/install/install_generator.rb
federails-0.3.0 lib/generators/federails/install/install_generator.rb