Class: PgQuery::DeparseOpts
- Inherits:
-
Struct
- Object
- Struct
- PgQuery::DeparseOpts
- Defined in:
- lib/pg_query/deparse.rb
Instance Attribute Summary collapse
-
#commas_start_of_line ⇒ Object
Returns the value of attribute commas_start_of_line.
-
#comments ⇒ Object
Returns the value of attribute comments.
-
#indent_size ⇒ Object
Returns the value of attribute indent_size.
-
#max_line_length ⇒ Object
Returns the value of attribute max_line_length.
-
#pretty_print ⇒ Object
Returns the value of attribute pretty_print.
-
#trailing_newline ⇒ Object
Returns the value of attribute trailing_newline.
Instance Attribute Details
#commas_start_of_line ⇒ Object
Returns the value of attribute commas_start_of_line
12 13 14 |
# File 'lib/pg_query/deparse.rb', line 12 def commas_start_of_line @commas_start_of_line end |
#comments ⇒ Object
Returns the value of attribute comments
12 13 14 |
# File 'lib/pg_query/deparse.rb', line 12 def comments @comments end |
#indent_size ⇒ Object
Returns the value of attribute indent_size
12 13 14 |
# File 'lib/pg_query/deparse.rb', line 12 def indent_size @indent_size end |
#max_line_length ⇒ Object
Returns the value of attribute max_line_length
12 13 14 |
# File 'lib/pg_query/deparse.rb', line 12 def max_line_length @max_line_length end |
#pretty_print ⇒ Object
Returns the value of attribute pretty_print
12 13 14 |
# File 'lib/pg_query/deparse.rb', line 12 def pretty_print @pretty_print end |
#trailing_newline ⇒ Object
Returns the value of attribute trailing_newline
12 13 14 |
# File 'lib/pg_query/deparse.rb', line 12 def trailing_newline @trailing_newline end |