lib/ruboty/robot.rb in ruboty-1.1.4 vs lib/ruboty/robot.rb in ruboty-1.1.5
- old
+ new
@@ -30,10 +30,11 @@
end
end
end
# @return [true] Because it needs to tell that an action is matched.
+ undef :say
def say(*args)
adapter.say(*args)
true
end
@@ -75,10 +76,10 @@
def setup
load(options[:load]) if options[:load]
end
def handlers
- Ruboty.handlers.map {|handler_class| handler_class.new(self) }
+ Ruboty.handlers.map { |handler_class| handler_class.new(self) }
end
memoize :handlers
def remember
brain