class Lita::Message

Public Instance Methods

reply(*strings) click to toggle source
# File lib/lita/ext/message.rb, line 3
def reply(*strings)
  if Lita.config.robot.adapter == :twitter
    reply_with_mention(*strings)
  else
    reply_without_mention(*strings)
  end
end
reply_without_mention(*strings) click to toggle source
# File lib/lita/ext/message.rb, line 11
def reply_without_mention(*strings)
  @robot.send_messages(source, *strings)
end