Skip to content

Commit

Permalink
Fix test failures on Ruby 2.2.0-preview1
Browse files Browse the repository at this point in the history
  • Loading branch information
sferik committed Oct 20, 2014
1 parent 1d55768 commit 74fb2e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/twitter/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class Client
# @return [Twitter::Client]
def initialize(options = {})
options.each do |key, value|
send(:"#{key}=", value)
instance_variable_set("@#{key}", value)
end
yield(self) if block_given?
validate_credential_type!
Expand Down

0 comments on commit 74fb2e6

Please sign in to comment.