lib/bosh/stemcell/agent.rb in bosh-stemcell-1.2652.0 vs lib/bosh/stemcell/agent.rb in bosh-stemcell-1.2657.0

- old
+ new

@@ -2,18 +2,15 @@ module Agent def self.for(name) case name when 'go' Go.new - when 'ruby' - Ruby.new when 'null' NullAgent.new else raise ArgumentError.new("invalid agent: #{name}") end - end class NullAgent def name 'null' @@ -25,19 +22,9 @@ end class Go def name 'go' - end - - def ==(other) - name == other.name - end - end - - class Ruby - def name - 'ruby' end def ==(other) name == other.name end