lib/lita/message.rb in lita-0.0.1 vs lib/lita/message.rb in lita-1.0.0
- old
+ new
@@ -4,9 +4,10 @@
attr_reader :body, :source
alias_method :message, :body
def_delegators :@body, :scan
+ def_delegators :@source, :user
def initialize(robot, body, source)
@robot = robot
@body = body
@source = source