Sha256: 24079aefd4462596aa8f507db0ef8768efc5637efcef6f1ceaaed7ac83bef277
Contents?: true
Size: 667 Bytes
Versions: 38
Compression:
Stored size: 667 Bytes
Contents
#!/usr/bin/env ruby -w # encoding: UTF-8 # # = FileCreator.rb -- Fit4Ruby - FIT file processing library for Ruby # # Copyright (c) 2014 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/version' require 'fit4ruby/FitDataRecord' module Fit4Ruby class FileCreator < FitDataRecord def initialize(field_values = {}) super('file_creator') @software_version = VERSION.split('.').join('').to_i set_field_values(field_values) end end end
Version data entries
38 entries across 38 versions & 1 rubygems