Class: ROM::SQL::Postgres::Values::Point

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

Instance Attribute Summary collapse

Instance Attribute Details

#xObject

Returns the value of attribute x

Returns:

  • (Object)

    the current value of x



7
8
9
# File 'lib/rom/sql/extensions/postgres/types/geometric.rb', line 7

def x
  @x
end

#yObject

Returns the value of attribute y

Returns:

  • (Object)

    the current value of y



7
8
9
# File 'lib/rom/sql/extensions/postgres/types/geometric.rb', line 7

def y
  @y
end