Sha256: 146973b43b1a8dbca39c05b7301cb261667a146b62eaf2797f2ad41979a6fc21
Contents?: true
Size: 906 Bytes
Versions: 6
Compression:
Stored size: 906 Bytes
Contents
# encoding: ascii-8bit # Copyright 2022 Ball Aerospace & Technologies Corp. # All Rights Reserved. # # This program is free software; you can modify and/or redistribute it # under the terms of the GNU Affero General Public License # as published by the Free Software Foundation; version 3 with # attribution addendums as found in the LICENSE.txt # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # Modified by OpenC3, Inc. # All changes Copyright 2022, OpenC3, Inc. # All Rights Reserved # OpenC3 specific additions to the Ruby Range class class Range # @return [Array<Float>] Array of each value within the Range converted to # Float def to_a_to_f collect { |value| value.to_f } end end
Version data entries
6 entries across 6 versions & 1 rubygems