Module: SqlMunger::Quoter

Included in:
FieldSet, TableName
Defined in:
lib/sql_munger/quoter.rb

Defined Under Namespace

Modules: ClassMethods Classes: DefaultQuoter

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#quoterObject



17
18
19
# File 'lib/sql_munger/quoter.rb', line 17

def quoter
  @quoter ||= self.class.default_quoter
end

Class Method Details

.included(base) ⇒ Object



37
38
39
# File 'lib/sql_munger/quoter.rb', line 37

def self.included( base )
  base.extend( ClassMethods )
end

Instance Method Details

#identifier_quoterObject



25
26
27
# File 'lib/sql_munger/quoter.rb', line 25

def identifier_quoter
  @identifier_quoter ||= quoter
end

#value_quoterObject



21
22
23
# File 'lib/sql_munger/quoter.rb', line 21

def value_quoter
  @value_quoter ||= quoter
end