Browse files

Make James.listen work with no arguments like in the examples

  • Loading branch information...
1 parent 3a405f5 commit 71c0eea8a377e9ac70829ba83febdca2c39791f6 @ferrous26 committed Jul 18, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/james.rb
View
2 lib/james.rb
@@ -39,7 +39,7 @@ def self.use *dialogs
# Start listening.
#
- def self.listen options
+ def self.listen options = {}
controller.listen options
end

0 comments on commit 71c0eea

Please sign in to comment.