Module: GoodMigrations
- Defined in:
- lib/good_migrations/railtie.rb,
lib/good_migrations/version.rb,
lib/good_migrations/load_error.rb,
lib/good_migrations/configuration.rb,
lib/good_migrations/permits_autoload.rb,
lib/good_migrations/migration_details.rb,
lib/good_migrations/raises_load_error.rb,
lib/good_migrations/patches_autoloader.rb
Defined Under Namespace
Classes: Configuration, LoadError, MigrationDetails, PatchesAutoloader, PermitsAutoload, Railtie, RaisesLoadError
Constant Summary collapse
- VERSION =
"0.3.0"
Class Method Summary collapse
Class Method Details
.config(&blk) ⇒ Object
2 3 4 5 6 7 8 |
# File 'lib/good_migrations/configuration.rb', line 2 def self.config(&blk) @configuration ||= Configuration.new @configuration.tap do |config| blk&.call(config) end end |