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.
Instance Method Summary collapse
-
#initialize ⇒ NiceQLConfig
constructor
A new instance of NiceQLConfig.
Constructor Details
#initialize ⇒ NiceQLConfig
Returns a new instance of NiceQLConfig.
458 459 460 461 |
# File 'lib/niceql.rb', line 458 def initialize self.indentation_base = 2 self.open_bracket_is_newliner = false end |
Instance Attribute Details
#indentation_base ⇒ Object
Returns the value of attribute indentation_base.
456 457 458 |
# File 'lib/niceql.rb', line 456 def indentation_base @indentation_base end |
#open_bracket_is_newliner ⇒ Object
Returns the value of attribute open_bracket_is_newliner.
456 457 458 |
# File 'lib/niceql.rb', line 456 def open_bracket_is_newliner @open_bracket_is_newliner end |