Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Make TweetStream::Configuration#options compatible with Ruby 1.8.6

  • Loading branch information...
commit 9c235e9b6c160d76a2b47af635811d5538b38f8f 1 parent 13eb0b2
@winton authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/tweetstream/configuration.rb
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.