Class: Niceql::NiceQLConfig

Inherits:
Object
  • Object
show all
Defined in:
lib/niceql.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeNiceQLConfig

Returns a new instance of NiceQLConfig.



156
157
158
159
160
# File 'lib/niceql.rb', line 156

def initialize
  self.pg_adapter_with_nicesql = false
  self.indentation_base = 2
  self.open_bracket_is_newliner = false
end

Instance Attribute Details

#indentation_baseObject

Returns the value of attribute indentation_base.



152
153
154
# File 'lib/niceql.rb', line 152

def indentation_base
  @indentation_base
end

#open_bracket_is_newlinerObject

Returns the value of attribute open_bracket_is_newliner.



154
155
156
# File 'lib/niceql.rb', line 154

def open_bracket_is_newliner
  @open_bracket_is_newliner
end

#pg_adapter_with_nicesqlObject

Returns the value of attribute pg_adapter_with_nicesql.



150
151
152
# File 'lib/niceql.rb', line 150

def pg_adapter_with_nicesql
  @pg_adapter_with_nicesql
end