Class: PgQuery::PossibleTruncation

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

Instance Attribute Summary collapse

Instance Attribute Details

#is_arrayObject

Returns the value of attribute is_array

Returns:

  • (Object)

    the current value of is_array



2
3
4
# File 'lib/pg_query/truncate.rb', line 2

def is_array
  @is_array
end

#lengthObject

Returns the value of attribute length

Returns:

  • (Object)

    the current value of length



2
3
4
# File 'lib/pg_query/truncate.rb', line 2

def length
  @length
end

#locationObject

Returns the value of attribute location

Returns:

  • (Object)

    the current value of location



2
3
4
# File 'lib/pg_query/truncate.rb', line 2

def location
  @location
end

#node_typeObject

Returns the value of attribute node_type

Returns:

  • (Object)

    the current value of node_type



2
3
4
# File 'lib/pg_query/truncate.rb', line 2

def node_type
  @node_type
end