Class: Arel::Sql::Formatter

Inherits:
Object
  • Object
show all
Defined in:
lib/arel/engines/sql/formatters.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(environment) ⇒ Formatter

Returns a new instance of Formatter.



9
10
11
# File 'lib/arel/engines/sql/formatters.rb', line 9

def initialize(environment)
  @environment = environment
end

Instance Attribute Details

#environmentObject (readonly)

Returns the value of attribute environment.



4
5
6
# File 'lib/arel/engines/sql/formatters.rb', line 4

def environment
  @environment
end