lib/leap/committee.rb in leap-0.2.6 vs lib/leap/committee.rb in leap-0.3.0
- old
+ new
@@ -8,10 +8,12 @@
end
def report(characteristics, considerations)
quorums.grab do |quorum|
next unless quorum.satisfied_by? characteristics
- quorum.acknowledge characteristics, considerations.dup
+ if conclusion = quorum.acknowledge(characteristics, considerations.dup)
+ ::Leap::Report.new quorum => conclusion
+ end
end
end
include ::Blockenspiel::DSL
def quorum(name, options = {}, &blk)