Class: Lita::Handlers::Bingo::Overtime

Inherits:
Lita::Handler
  • Object
show all
Includes:
LoadBingo
Defined in:
lib/lita/handlers/bingo/overtime.rb

Instance Method Summary collapse

Methods included from LoadBingo

#bingo

Instance Method Details

#overtime(response) ⇒ Object



10
11
12
13
14
15
16
17
# File 'lib/lita/handlers/bingo/overtime.rb', line 10

def overtime(response)

  reply1 = bingo(:overtime, :reply1)
  reply2 = bingo(:overtime, :reply2)
  reply3 = bingo(:overtime, :reply3)

  response.reply "今天我要做 #{reply1}#{reply2}#{reply3}"
end