Class: RailsAsyncMigrations::Mutators::TurnAsync
- Defined in:
- lib/rails_async_migrations/mutators/turn_async.rb
Instance Attribute Summary collapse
-
#instance ⇒ Object
readonly
Returns the value of attribute instance.
Instance Method Summary collapse
-
#initialize(instance) ⇒ TurnAsync
constructor
A new instance of TurnAsync.
- #perform ⇒ Object
Methods inherited from Base
#current_migration, #fetch_from_file, #migration_class
Constructor Details
#initialize(instance) ⇒ TurnAsync
Returns a new instance of TurnAsync.
6 7 8 |
# File 'lib/rails_async_migrations/mutators/turn_async.rb', line 6 def initialize(instance) @instance = instance end |
Instance Attribute Details
#instance ⇒ Object (readonly)
Returns the value of attribute instance.
4 5 6 |
# File 'lib/rails_async_migrations/mutators/turn_async.rb', line 4 def instance @instance end |