a

Ruby code posted
created at 02 Jun 16:47

Edit | Back
1
2
3
4
5
6
7
8
class RecumbentBike < Bicycle
  def default_chain
    '10-speed'
  end
end

bent = RecumbentBike.new(size: "L")
# => undefined local variable or method 'default_tire_size' 
179 Bytes in 4 ms with coderay