Class: Simple::SQL::Connection::RawConnection

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/simple/sql/connection.rb

Direct Known Subclasses

ActiveRecordConnection, SimpleConnection

Instance Method Summary collapse

Constructor Details

#initialize(raw_connection) ⇒ RawConnection

Returns a new instance of RawConnection.



17
18
19
# File 'lib/simple/sql/connection.rb', line 17

def initialize(raw_connection)
  @raw_connection = raw_connection
end

Instance Method Details

#transaction(&_block) ⇒ Object

Raises:

  • (ArgumentError)


24
25
26
# File 'lib/simple/sql/connection.rb', line 24

def transaction(&_block)
  raise ArgumentError, "Implementation missing for #transaction"
end