Class: ROM::SQL::Types::PG::Point

Inherits:
Struct
  • Object
show all
Defined in:
lib/rom/sql/extensions/postgres/types.rb

Overview

Geometric types

Instance Attribute Summary collapse

Instance Attribute Details

#xObject

Returns the value of attribute x

Returns:

  • (Object)

    the current value of x



387
388
389
# File 'lib/rom/sql/extensions/postgres/types.rb', line 387

def x
  @x
end

#yObject

Returns the value of attribute y

Returns:

  • (Object)

    the current value of y



387
388
389
# File 'lib/rom/sql/extensions/postgres/types.rb', line 387

def y
  @y
end