Class: PgQuery::DeparseOpts

Inherits:
Struct
  • Object
show all
Defined in:
lib/pg_query/deparse.rb

Instance Attribute Summary collapse

Instance Attribute Details

#commas_start_of_lineObject

Returns the value of attribute commas_start_of_line

Returns:

  • the current value of 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

#commentsObject

Returns the value of attribute comments

Returns:

  • the current value of comments



12
13
14
# File 'lib/pg_query/deparse.rb', line 12

def comments
  @comments
end

#indent_sizeObject

Returns the value of attribute indent_size

Returns:

  • the current value of indent_size



12
13
14
# File 'lib/pg_query/deparse.rb', line 12

def indent_size
  @indent_size
end

#max_line_lengthObject

Returns the value of attribute max_line_length

Returns:

  • the current value of max_line_length



12
13
14
# File 'lib/pg_query/deparse.rb', line 12

def max_line_length
  @max_line_length
end

#pretty_printObject

Returns the value of attribute pretty_print

Returns:

  • the current value of pretty_print



12
13
14
# File 'lib/pg_query/deparse.rb', line 12

def pretty_print
  @pretty_print
end

#trailing_newlineObject

Returns the value of attribute trailing_newline

Returns:

  • the current value of trailing_newline



12
13
14
# File 'lib/pg_query/deparse.rb', line 12

def trailing_newline
  @trailing_newline
end