Class: GoodMigrations::PermitsAutoload

Inherits:
Object
  • Object
show all
Defined in:
lib/good_migrations/permits_autoload.rb

Instance Method Summary collapse

Instance Method Details

#permit?(path) ⇒ Boolean

Returns:

  • (Boolean)


3
4
5
# File 'lib/good_migrations/permits_autoload.rb', line 3

def permit?(path)
  !app_path?(path) || permit_autoloading_based_on_migration_time?
end