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.



14
15
16
# File 'lib/simple/sql/connection.rb', line 14

def initialize(raw_connection)
  @raw_connection = raw_connection
end

Instance Method Details

#transaction(&block) ⇒ Object

Raises:

  • (ArgumentError)


21
22
23
# File 'lib/simple/sql/connection.rb', line 21

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