Permalink
Browse files

Merge pull request #9 from ferrous26/master

Make James.listen work with no arguments like in the examples
  • Loading branch information...
2 parents 3b249b8 + 71c0eea commit c83a1c00d7f5909b44b1c43f0de43d519bf2ee92 @floere committed Jul 18, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/james.rb
View
@@ -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 c83a1c0

Please sign in to comment.