Class: Liquigen::Sql

Inherits:
Change show all
Defined in:
lib/liquigen/sql.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(sql) ⇒ Sql

Returns a new instance of Sql.



7
8
9
# File 'lib/liquigen/sql.rb', line 7

def initialize(sql)
  self.sql = sql
end

Instance Attribute Details

#sqlObject

Returns the value of attribute sql.



5
6
7
# File 'lib/liquigen/sql.rb', line 5

def sql
  @sql
end