Class: Ruboty::HaikuWoYome::Actions::Haiku

Inherits:
Actions::Base
  • Object
show all
Defined in:
lib/ruboty/haiku_wo_yome/actions/haiku.rb

Instance Method Summary collapse

Instance Method Details

#callObject



5
6
7
8
# File 'lib/ruboty/haiku_wo_yome/actions/haiku.rb', line 5

def call
  haiku = haiku_list.sample || '「アイエエエエ!?」'
  message.reply(haiku)
end