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.69.0 lib/bakery/buildPattern.rb
bake-toolkit-2.68.1 lib/bakery/buildPattern.rb
bake-toolkit-2.68.0 lib/bakery/buildPattern.rb
bake-toolkit-2.67.0 lib/bakery/buildPattern.rb
bake-toolkit-2.66.0 lib/bakery/buildPattern.rb
bake-toolkit-2.65.2 lib/bakery/buildPattern.rb
bake-toolkit-2.65.1 lib/bakery/buildPattern.rb
bake-toolkit-2.65.0 lib/bakery/buildPattern.rb
bake-toolkit-2.64.4 lib/bakery/buildPattern.rb
bake-toolkit-2.64.3 lib/bakery/buildPattern.rb
bake-toolkit-2.64.2 lib/bakery/buildPattern.rb
bake-toolkit-2.64.1 lib/bakery/buildPattern.rb
bake-toolkit-2.64.0 lib/bakery/buildPattern.rb
bake-toolkit-2.63.2 lib/bakery/buildPattern.rb
bake-toolkit-2.63.1 lib/bakery/buildPattern.rb
bake-toolkit-2.63.0 lib/bakery/buildPattern.rb
bake-toolkit-2.62.0 lib/bakery/buildPattern.rb
bake-toolkit-2.61.0 lib/bakery/buildPattern.rb
bake-toolkit-2.60.2 lib/bakery/buildPattern.rb
bake-toolkit-2.60.0 lib/bakery/buildPattern.rb