I\'m going through the ruby koans, I\'m on 151 and I just hit a brick wall.
Here is the koan:
# You need to write the triangle method in the file \'trian
You forgot the case when a,b, or c are negative:
def triangle(a, b, c) raise TriangleError if [a,b,c].min <= 0 x, y, z = [a,b,c].sort raise TriangleError if x + y <= z [:equilateral,:isosceles,:scalene].fetch([a,b,c].uniq.size - 1) end