a

Ruby code posted
created at 08 May 01:04

Edit | Back
1
2
3
4
5
6
7
8
9
10
11
def gear_inches
  ratio * (rim+(tire*2)) #直径の計算が入っている
end

def gear_inches
  ratio * diameter
end

def diameter
  rim+(tire*2)
end
140 Bytes in 3 ms with coderay