Class: Niceql::NiceQLConfig
- Inherits:
-
Object
- Object
- Niceql::NiceQLConfig
- Defined in:
- lib/niceql.rb
Instance Attribute Summary collapse
-
#indentation_base ⇒ Object
Returns the value of attribute indentation_base.
-
#open_bracket_is_newliner ⇒ Object
Returns the value of attribute open_bracket_is_newliner.
-
#pg_adapter_with_nicesql ⇒ Object
Returns the value of attribute pg_adapter_with_nicesql.
Instance Method Summary collapse
-
#initialize ⇒ NiceQLConfig
constructor
A new instance of NiceQLConfig.
Constructor Details
#initialize ⇒ NiceQLConfig
Returns a new instance of NiceQLConfig.
157 158 159 160 161 |
# File 'lib/niceql.rb', line 157 def initialize self.pg_adapter_with_nicesql = false self.indentation_base = 2 self.open_bracket_is_newliner = false end |
Instance Attribute Details
#indentation_base ⇒ Object
Returns the value of attribute indentation_base.
153 154 155 |
# File 'lib/niceql.rb', line 153 def indentation_base @indentation_base end |
#open_bracket_is_newliner ⇒ Object
Returns the value of attribute open_bracket_is_newliner.
155 156 157 |
# File 'lib/niceql.rb', line 155 def open_bracket_is_newliner @open_bracket_is_newliner end |
#pg_adapter_with_nicesql ⇒ Object
Returns the value of attribute pg_adapter_with_nicesql.
151 152 153 |
# File 'lib/niceql.rb', line 151 def pg_adapter_with_nicesql @pg_adapter_with_nicesql end |