Class: ROM::SQL::Migration::InlineRunner Private
- Inherits:
- BasicObject
- Extended by:
- Initializer
- Defined in:
- lib/rom/sql/migration/inline_runner.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(m, *args, &block) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
16 17 18 |
# File 'lib/rom/sql/migration/inline_runner.rb', line 16 def method_missing(m, *args, &block) connection.public_send(m, *args, &block) end |
Instance Method Details
#migration {|connection| ... } ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
12 13 14 |
# File 'lib/rom/sql/migration/inline_runner.rb', line 12 def migration yield(connection) end |