a

Ruby code posted
created at 02 Jul 20:16

Edit | Back
1
2
3
4
5
6
7
def bottle_number_for(number)
    if number == 0
      BottleNumber0.new(number)
    else
      BottleNumber.new(number)
    end
  end
140 Bytes in 2 ms with coderay