class Pleiades::InstallGenerator

Public Instance Methods

generate_file() click to toggle source
# File lib/pleiades/generators/pleiades/install/install_generator.rb, line 4
def generate_file
  cst = Pleiades::Constants::File
  file_paths =
    %W[
      #{cst::CONFIG}
      #{cst::INITIALIZER}
      #{cst::ROUTER}
      #{cst::ROUTING_PROXY}
    ]

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