Tag Archives: ruby

Ruby: Neat function uniq.size

My first Ruby program ever was to write a function to determine if a triangle given the size of its size, was scalene, isosceles or equilateral. I wrote if statements to see if the sides were equals, but ruby can … Continue reading

Posted in Ruby | Tagged | Leave a comment