lib/simctl/runtime.rb in simctl-1.2.3 vs lib/simctl/runtime.rb in simctl-1.3.0

- old
+ new

@@ -3,9 +3,11 @@ module SimCtl class Runtime < Object attr_reader :availability, :buildversion, :identifier, :name, :version def ==(other) + return false if other.nil? + return false unless other.kind_of? Runtime other.identifier == identifier end # Returns the latest available runtime #