Sha256: 237edbd44639217a60b13decbc60cfcacc7cb74fc071825ecebf7f5bbb5abd1c
Contents?: true
Size: 816 Bytes
Versions: 2
Compression:
Stored size: 816 Bytes
Contents
module Macroape class Collection attr_reader :rough_discretization, :precise_discretization, :background, :pvalues, :pwms, :infos def initialize(rough_discretization, precise_discretization, background, pvalues) @rough_discretization, @precise_discretization, @background, @pvalues = rough_discretization, precise_discretization, background, pvalues @pwms={} @infos={} end def add_pwm(pwm,info) @pwms[pwm.name] = pwm @infos[pwm.name] = info end def ==(other) @rough_discretization == other.rough_discretization && @precise_discretization == other.precise_discretization && @background == other.background && @pvalues == other.pvalues && @pwms == other.pwms && @infos == other.infos end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
macroape-3.3.2 | lib/macroape/collection.rb |
macroape-3.3.1 | lib/macroape/collection.rb |