a

Ruby code posted
created at 02 Jun 17:19

Edit | Back
1
2
3
4
5
6
7
8
9
10
class Bicycle
  # ...
  def default_tire_size
    raise NotImplementedError,
          "#{self.class} should have implemented..."
  end
end

bent = RecumbentBike.new(size: "L")
# => RecumbentBike should have implemented...
231 Bytes in 4 ms with coderay