Sha256: f2afbfe8ecb7fd049d515ef5a0fb79d483e11bf3a221b9535a0bc5ca727efb5e
Contents?: true
Size: 372 Bytes
Versions: 4
Compression:
Stored size: 372 Bytes
Contents
require 'versionomy' module PactBroker module Models 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