lib/twitter/client.rb in twitter-5.7.1 vs lib/twitter/client.rb in twitter-5.8.0
- old
+ new
@@ -19,10 +19,10 @@
# @return [Twitter::Client]
def initialize(options = {})
options.each do |key, value|
send(:"#{key}=", value)
end
- yield self if block_given?
+ yield(self) if block_given?
validate_credential_type!
end
# @return [Boolean]
def user_token?