lib/bosh/stemcell/operating_system.rb in bosh-stemcell-1.1798.0 vs lib/bosh/stemcell/operating_system.rb in bosh-stemcell-1.1836.0
- old
+ new
@@ -12,9 +12,13 @@
attr_reader :name
def initialize(options = {})
@name = options.fetch(:name)
end
+
+ def ==(other)
+ name == other.name
+ end
end
class Centos < Base
def initialize
super(name: 'centos')