Sha256: b6489cd4de2c3fd74a8e09193299e8c78b1c59efde32213715d1a3a847547c69

Contents?: true

Size: 434 Bytes

Versions: 1

Compression:

Stored size: 434 Bytes

Contents

module Pleiades
  class Railtie < ::Rails::Railtie
    generators do

      generator_names = %w(
                            install
                            setup
                            command
                          )

      generator_path = './generators/pleiades'.freeze
      generator_names
        .map  { |f| "#{generator_path}/#{f}/#{f}_generator.rb" }
        .each { |f| require_relative f }

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pleiades-0.1.1 lib/pleiades/railtie.rb