Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Don't bother checking if value is nil

  • Loading branch information...
commit ca8495d2538e0563b1b7fc03df77ad0b21129246 1 parent b74770e
@sferik authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/twitter/base.rb
View
2  lib/twitter/base.rb
@@ -3,7 +3,7 @@ class Base
def initialize(hash={})
hash.each do |key, value|
- instance_variable_set(:"@#{key}", value) unless value.nil?
+ instance_variable_set(:"@#{key}", value)
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.