Sha256: 22c95eec21a19c1c27d406bea2cb4c59c6e70812aed01c46dc94b5370ac7be99
Contents?: true
Size: 276 Bytes
Versions: 5
Compression:
Stored size: 276 Bytes
Contents
require "flex_station_data/readings" module FlexStationData class Sample attr_reader :label, :readings def initialize(label, readings) @label = label @readings = readings end def mean @mean ||= Readings.mean(*readings) end end end
Version data entries
5 entries across 5 versions & 1 rubygems