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, *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.

API:

  • private



14
15
16
# File 'lib/rom/sql/migration/inline_runner.rb', line 14

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.

Yields:

  • (connection)

API:

  • private



10
11
12
# File 'lib/rom/sql/migration/inline_runner.rb', line 10

def migration
  yield(connection)
end