Class: Geoloco::Geometry

Inherits:
Struct
  • Object
show all
Defined in:
lib/geoloco/geometry.rb

Overview

Geometry data

Instance Attribute Summary collapse

Instance Attribute Details

#latFloat

latitude

Returns:

  • (Float)

    the current value of lat



8
9
10
# File 'lib/geoloco/geometry.rb', line 8

def lat
  @lat
end

#lngFloat

longitude

Returns:

  • (Float)

    the current value of lng



8
9
10
# File 'lib/geoloco/geometry.rb', line 8

def lng
  @lng
end