Sha256: d4e3ca4fc0478a5bc9953f98bce106277c07e9497ca62587872598fc3370c06c
Contents?: true
Size: 604 Bytes
Versions: 25
Compression:
Stored size: 604 Bytes
Contents
# encoding: ascii-8bit # Copyright 2014 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 General Public License # as published by the Free Software Foundation; version 3 with # attribution addendums as found in the LICENSE.txt # COSMOS 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 array = [] self.each do |value| array << value.to_f end array end end
Version data entries
25 entries across 25 versions & 1 rubygems