class PactBroker::Domain::Group

Public Class Methods

new(*index_items) click to toggle source
# File lib/pact_broker/domain/group.rb, line 5
def initialize *index_items
  self.concat index_items.flatten
end

Public Instance Methods

==(other) click to toggle source
Calls superclass method
# File lib/pact_broker/domain/group.rb, line 9
def == other
  Group === other && super
end
include_pacticipant?(pacticipant) click to toggle source
# File lib/pact_broker/domain/group.rb, line 13
def include_pacticipant? pacticipant
  any? { | index_item | index_item.include? pacticipant }
end