Sha256: 0ee3240d49b419b16d832511f789702036642b892e83e6b5cd31619489b0c554
Contents?: true
Size: 372 Bytes
Versions: 4
Compression:
Stored size: 372 Bytes
Contents
require 'versionomy' module PactBroker module Domain class Group < Array def initialize *relationships self.concat relationships.flatten end def == other Group === other && super end def include_pacticipant? pacticipant any? { | relationship | relationship.include? pacticipant } end end end end
Version data entries
4 entries across 4 versions & 1 rubygems