Class: ROM::SQL::Migration::InlineRunner Private

Inherits:
BasicObject
Extended by:
Initializer
Defined in:
lib/rom/sql/migration/inline_runner.rb

Overview

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.

API:

  • private

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(m) ⇒ Object (private)

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.

API:

  • private



18
19
20
# File 'lib/rom/sql/migration/inline_runner.rb', line 18

def method_missing(m, ...)
  connection.public_send(m, ...)
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.

Yields:

  • (connection)

API:

  • private



12
13
14
# File 'lib/rom/sql/migration/inline_runner.rb', line 12

def migration
  yield(connection)
end