Sha256: 0b6a78cb518725ca63c16bbe17ab77f0397793d211a19b0d8cf1aeea0b5840c2

Contents?: true

Size: 372 Bytes

Versions: 7

Compression:

Stored size: 372 Bytes

Contents

# frozen_string_literal: true

module Esse
  module CLI
    class ExtensionsLoader
      GEMS = %w[
        esse-rails
        esse-active_record
        esse-sequel
        esse-kaminari
      ].freeze

      def self.load!
        GEMS.each do |gem_name|
          require gem_name
        rescue LoadError
          # do nothing
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
esse-0.3.3 lib/esse/cli/extensions_loader.rb
esse-0.3.2 lib/esse/cli/extensions_loader.rb
esse-0.3.1 lib/esse/cli/extensions_loader.rb
esse-0.3.0 lib/esse/cli/extensions_loader.rb
esse-0.2.6 lib/esse/cli/extensions_loader.rb
esse-0.2.5 lib/esse/cli/extensions_loader.rb
esse-0.2.4 lib/esse/cli/extensions_loader.rb