Sha256: 207b185c5a5cbc586c374c45801a3bbe4305bcc9d99d163811928508e9940191

Contents?: true

Size: 271 Bytes

Versions: 1

Compression:

Stored size: 271 Bytes

Contents

#!/usr/bin/env ruby

require_relative File.join '..', 'lib', 'statistical_array'

unless ARGV.size >= 1
  puts "Usage: #{File.basename $0} <number ...>"
  exit 64
end

include StatisticalArray
a = StatsArray.new ARGV.map { |i| i.include?('.') ? i.to_f : i.to_i }
a.print

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
statistical_array-1.0.0 bin/stats_array