a

Ruby code posted
created at 08 May 00:53

Edit | Back
1
2
3
4
5
6
7
def diameters
  wheel.map { |wheel| diameter(wheel) }
end

def diameter(wheel)
  wheel.rim + (wheel.tire*2)
end
117 Bytes in 2 ms with coderay