a

Php code posted
created at 02 Jul 19:43, updated at 20 Jul 03:55

Edit | Back
1
2
3
4
5
6
7
8
9
class BottleNumber
  def self.for(number)
    begin
      const_get("BottleNumber#{number}")
    rescue NameError
      BottleNumber
    end.new(number)
    # ...
end
174 Bytes in 4 ms with coderay