Class: Alf::Sequel::Compiler

Inherits:
Sql::Compiler
  • Object
show all
Defined in:
lib/alf/sequel/compiler.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(connection) ⇒ Compiler

Returns a new instance of Compiler.



5
6
7
8
# File 'lib/alf/sequel/compiler.rb', line 5

def initialize(connection)
  super()
  @connection = connection
end

Instance Attribute Details

#connectionObject (readonly)

Returns the value of attribute connection.



9
10
11
# File 'lib/alf/sequel/compiler.rb', line 9

def connection
  @connection
end