Sha256: c2f5ce0cf314437a7aac3bb4c487c8bf6f8871e0c32d627593717625080b2dac

Contents?: true

Size: 434 Bytes

Versions: 1

Compression:

Stored size: 434 Bytes

Contents

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

      def generate_file
        file_paths =  %W(
                        #{Pleiades::Constants::File::CONFIG}
                        #{Pleiades::Constants::File::ROUTER}
                      )

        file_paths.each { |f| copy_file File.basename(f), f }
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pleiades-0.1.1 lib/pleiades/generators/pleiades/install/install_generator.rb