Class: Arel::Sql::Formatter
- Inherits:
-
Object
- Object
- Arel::Sql::Formatter
- Defined in:
- lib/arel/engines/sql/formatters.rb
Direct Known Subclasses
PassThrough, SelectClause, SelectStatement, TableReference, WhereCondition
Instance Attribute Summary collapse
-
#environment ⇒ Object
readonly
Returns the value of attribute environment.
Instance Method Summary collapse
-
#initialize(environment) ⇒ Formatter
constructor
A new instance of Formatter.
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
#environment ⇒ Object (readonly)
Returns the value of attribute environment.
4 5 6 |
# File 'lib/arel/engines/sql/formatters.rb', line 4 def environment @environment end |