lib/sys/windows/uname.rb in sys-uname-1.2.3 vs lib/sys/windows/uname.rb in sys-uname-1.3.0
- old
+ new
@@ -488,10 +488,10 @@
# There is a bug in win32ole where uint64 types are returned as a
# String rather than a Fixnum/Bignum. This deals with that for now.
#
def self.convert(str)
- return nil if str.nil? # Don't turn nil into 0
+ return nil if str.nil? # Don't turn nil into 0
str.to_i
end
private_class_method :convert
end