Class: RELI::Hq9plus

Inherits:
Abstract show all
Defined in:
lib/reli/hq9plus.rb

Instance Method Summary collapse

Methods inherited from Abstract

change, on, #run

Constructor Details

#initialize(options = {}) ⇒ Hq9plus

Returns a new instance of Hq9plus.


5
6
7
8
# File 'lib/reli/hq9plus.rb', line 5

def initialize(options = {})
  super
  @a = 0
end

Instance Method Details

#bottles(i) ⇒ Object


39
40
41
# File 'lib/reli/hq9plus.rb', line 39

def bottles(i)
  [i == 0? "no more" : i.to_s, " bottle", i == 1? "": "s"].join
end