Sha256: e93b1c0f8154a66d947557d01ca237706fa85c1208259ffd5f7ca9f62dae08e6
Contents?: true
Size: 627 Bytes
Versions: 12
Compression:
Stored size: 627 Bytes
Contents
# Exception raised when a `Rails::Engine` has left its `'app/concerns'` path as `autoload_load: false` class Metasploit::Concern::Error::SkipAutoload < Metasploit::Concern::Error::Base # @param engine [Rails::Engine] `Rails::Engine` where `engine.paths['app/concerns'].autoload?` is `false`. def initialize(engine) @engine = engine super( "#{engine}'s `app/concerns` is marked as `autoload: false`. Declare `app/concerns` as autoloading:\n" \ "\n" \ " class #{engine} < Rails::Engine\n" \ " config.paths.add 'app/concerns', autoload: true\n" \ " end\n" ) end end
Version data entries
12 entries across 12 versions & 1 rubygems