class RELI::Hq9plus
Public Class Methods
new(options = {})
click to toggle source
Calls superclass method
RELI::Abstract::new
# File lib/reli/hq9plus.rb, line 5 def initialize(options = {}) super @a = 0 end
Public Instance Methods
bottles(i)
click to toggle source
# File lib/reli/hq9plus.rb, line 39 def bottles(i) [i == 0? "no more" : i.to_s, " bottle", i == 1? "": "s"].join end