lib/tweetstream/hash.rb in intridea-tweetstream-0.1.1 vs lib/tweetstream/hash.rb in intridea-tweetstream-0.1.3

- old
+ new

@@ -1,7 +1,6 @@ -#:nodoc: -class TweetStream::Hash < ::Hash - def initialize(other_hash) +class TweetStream::Hash < ::Hash #:nodoc: all + def initialize(other_hash = {}) other_hash.keys.each do |key| self[key.to_sym] = other_hash[key] end end \ No newline at end of file