Sha256: ef4f06dbb2a0276da443de7b05474ec375ed0015db0026edb8f2eb82e7f4cc0e

Contents?: true

Size: 505 Bytes

Versions: 4

Compression:

Stored size: 505 Bytes

Contents

module Bake

  class BuildPattern
    attr_reader :proj, :conf, :args, :args_end, :coll_p
    def initialize(proj, conf, args, args_end, coll_p)
      @proj = proj
      @conf = conf
      @args = args
      @args_end = args_end
      @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

4 entries across 4 versions & 1 rubygems

Version Path
bake-toolkit-2.72.0 lib/bakery/buildPattern.rb
bake-toolkit-2.71.0 lib/bakery/buildPattern.rb
bake-toolkit-2.70.1 lib/bakery/buildPattern.rb
bake-toolkit-2.70.0 lib/bakery/buildPattern.rb