Title / Description
Code class BottleNumber def self.for(number) case number when 0 BottleNumber0 when 1 BottleNumber1 when 6 BottleNumber6 end.new(number) end # ... end
Author
Highlight as C C++ CSS Clojure Delphi ERb Groovy (beta) HAML HTML JSON Java JavaScript PHP Plain text Python Ruby SQL XML YAML diff code