Sha256: 1be69720d7b4b7849f2a8b810110f1a8d6081f54bfdabd0588da8019ebc1c638
Contents?: true
Size: 696 Bytes
Versions: 26
Compression:
Stored size: 696 Bytes
Contents
#!/usr/bin/env ruby -w # encoding: UTF-8 # # = EPO_Data.rb -- Fit4Ruby - FIT file processing library for Ruby # # Copyright (c) 2014, 2016 by Chris Schlaeger <cs@taskjuggler.org> # # This program is free software; you can redistribute it and/or modify # it under the terms of version 2 of the GNU General Public License as # published by the Free Software Foundation. # require 'fit4ruby/FitDataRecord' module Fit4Ruby class EPO_Data < FitDataRecord def initialize(field_values = {}) super('epo_data') # Ignore the sub-seconds to avoid problems when comparing records. @time_created = Time.at(Time.now.to_i) set_field_values(field_values) end end end
Version data entries
26 entries across 26 versions & 1 rubygems