Class: ROM::SQL::Postgres::Values::Circle

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

Instance Attribute Summary collapse

Instance Attribute Details

#centerObject

Returns the value of attribute center

Returns:

  • (Object)

    the current value of center



11
12
13
# File 'lib/rom/sql/extensions/postgres/types/geometric.rb', line 11

def center
  @center
end

#radiusObject

Returns the value of attribute radius

Returns:

  • (Object)

    the current value of radius



11
12
13
# File 'lib/rom/sql/extensions/postgres/types/geometric.rb', line 11

def radius
  @radius
end