class Clchat::Reply
Public Class Methods
new(emotion = "good")
click to toggle source
# File lib/clchat/reply.rb, line 2 def initialize(emotion = "good") @emotion = emotion end
Public Instance Methods
answer()
click to toggle source
# File lib/clchat/reply.rb, line 6 def answer case @emotion when "happy" "(∩´∀`)∩" when "tired" "0(:3 )~" when "sad" "(´・_・`)" when "angry" "ヽ(*`д´*)ノ" when "annoyed" "(ΦдΦ)" else "(。・∀・。)" end end