Permalink
Browse files

Make TweetStream::Configuration#options compatible with Ruby 1.8.6

  • Loading branch information...
winton committed Oct 3, 2011
1 parent 13eb0b2 commit 9c235e9b6c160d76a2b47af635811d5538b38f8f
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/tweetstream/configuration.rb
@@ -65,7 +65,7 @@ def configure
# Create a hash of options and their values
def options
- Hash[VALID_OPTIONS_KEYS.map {|key| [key, send(key)] }]
+ Hash[*VALID_OPTIONS_KEYS.map {|key| [key, send(key)] }.flatten]
end
# Reset all configuration options to defaults

0 comments on commit 9c235e9

Please sign in to comment.