Sha256: 948d441e3f94ac4f41dbc8eda7a8c65f9dc26338035fcb92f29d6dbf5a512c7a

Contents?: true

Size: 456 Bytes

Versions: 46

Compression:

Stored size: 456 Bytes

Contents

module Bake

  class BuildPattern
    attr_reader :proj, :conf, :args, :coll_p
    def initialize(proj, conf, args, coll_p)
      @proj = proj
      @conf = conf
      @args = args
      @coll_p = coll_p
    end
    def getId
      proj + "*******" + conf
    end
    def hash
      getId.hash
    end
    def eql?(comparee)
      self == comparee
    end
    def ==(comparee)
      self.getId == comparee.getId
    end
  end

end

Version data entries

46 entries across 46 versions & 1 rubygems

Version Path
bake-toolkit-2.48.1 lib/bakery/buildPattern.rb
bake-toolkit-2.48.0 lib/bakery/buildPattern.rb
bake-toolkit-2.47.1 lib/bakery/buildPattern.rb
bake-toolkit-2.47.0 lib/bakery/buildPattern.rb
bake-toolkit-2.46.0 lib/bakery/buildPattern.rb
bake-toolkit-2.45.0 lib/bakery/buildPattern.rb