Method: Compact::Ledger#verify_contract
- Defined in:
- lib/compact/ledger.rb
#verify_contract(name, collaborator, block = Proc.new) ⇒ Object
21 22 23 24 25 |
# File 'lib/compact/ledger.rb', line 21 def verify_contract(name, collaborator, block = Proc.new ) @contracts[name] ||= Contract.new contract = @contracts[name] contract.verify(collaborator, block) end |