Max, Mean, Min, Sum
9 10 11 12 13 14 15 16 17 18 19
# File 'lib/shades/stats.rb', line 9 def self.get(name) if name.eql?("sum") SUM elsif name.eql?("mean") MEAN elsif name.eql?("min") MIN elsif name.eql?("max") MAX end end