class Rozi::TrackPoint

Represents a point in an Ozi Explorer track

Constants

PROPERTIES

Public Class Methods

new(*args, **kwargs) click to toggle source
Calls superclass method
# File lib/rozi/tracks.rb, line 30
def initialize(*args, **kwargs)
  update(
    break: false,
    altitude: -777,
    date: 0,
    date_string: "",
    time_string: ""
  )

  super
end

Public Instance Methods

break() click to toggle source
Calls superclass method
# File lib/rozi/tracks.rb, line 42
def break
  super == 1
end
break=(brk) click to toggle source
Calls superclass method
# File lib/rozi/tracks.rb, line 46
def break=(brk)
  super(brk ? 1 : 0)
end