Permalink
Browse files

speak options defaults to {}

  • Loading branch information...
sr committed Jan 2, 2012
1 parent f2f465f commit a5e9976eba44ef12df1161c46eefb40139042341
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/janky/chat.rb
View
@@ -36,11 +36,11 @@ def self.default_room_id
#
# message - The String message.
# room_id - The Integer room ID.
- # opts - Option hash to pass the chat service client
+ # options - Optional hash passed to the chat adapter.
#
# Returns nothing.
- def self.speak(message, room_id, opts=nil)
- adapter.speak(message, room_id, opts)
+ def self.speak(message, room_id, options = {})
+ adapter.speak(message, room_id, options)
end
# Get the ID of a room.

0 comments on commit a5e9976

Please sign in to comment.