Class: TZDetect::Position

Inherits:
Struct
  • Object
show all
Defined in:
lib/tzdetect/geocoder.rb

Instance Attribute Summary collapse

Instance Attribute Details

#latitudeObject

Returns the value of attribute latitude

Returns:

  • (Object)

    the current value of latitude



2
3
4
# File 'lib/tzdetect/geocoder.rb', line 2

def latitude
  @latitude
end

#longitudeObject

Returns the value of attribute longitude

Returns:

  • (Object)

    the current value of longitude



2
3
4
# File 'lib/tzdetect/geocoder.rb', line 2

def longitude
  @longitude
end

#timezoneObject

Returns the value of attribute timezone

Returns:

  • (Object)

    the current value of timezone



2
3
4
# File 'lib/tzdetect/geocoder.rb', line 2

def timezone
  @timezone
end