In Java, a \'static method\' would look like this:
class MyUtils { . . . public static double mean(int[] p) { int sum = 0; // sum of all the
Use self:
class Horse def self.say puts "I said moo." end end Horse.say