Sha256: ddab40e24e91d7804b20e64bc468ef191f7e47409edf64b23c38bebb4db2caf1

Contents?: true

Size: 271 Bytes

Versions: 5

Compression:

Stored size: 271 Bytes

Contents

module Pleiades
  class Railtie < ::Rails::Railtie
    generators do
      Dir
        .glob("#{File.expand_path('generators/pleiades', __dir__)}/*")
        .map  { |f| "#{f}/#{File.basename(f)}_generator.rb" }
        .each { |f| require_relative f }
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
pleiades-0.1.6 lib/pleiades/railtie.rb
pleiades-0.1.5 lib/pleiades/railtie.rb
pleiades-0.1.4 lib/pleiades/railtie.rb
pleiades-0.1.3 lib/pleiades/railtie.rb
pleiades-0.1.2 lib/pleiades/railtie.rb