Sha256: 14b67672fe467d3aede13830801ca350142d02579b07fc6e84cdda5f2c7008d0

Contents?: true

Size: 347 Bytes

Versions: 1

Compression:

Stored size: 347 Bytes

Contents

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

  def generate_file
    cst = Pleiades::Constants::File
    file_paths =
      %W[
        #{cst::CONFIG}
        #{cst::INITIALIZER}
        #{cst::ROUTER}
      ]

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

Version data entries

1 entries across 1 versions & 1 rubygems

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