Class: Portage::Ucp::Confirmer::AutoApprove

Inherits:
Object
  • Object
show all
Defined in:
lib/portage/ucp/confirmer.rb

Overview

Always approves. For adapter conformance suites and Dispatcher specs that need a real confirm! call to return without blocking on stdin — never wire this into a real Dispatcher: confirmation defaulting to on is the thing that makes Phase 1's permanently- spendable stored token safe (see plan, "No arm step").

Instance Method Summary collapse

Instance Method Details

#confirm! ⇒ Object



69
70
71
# File 'lib/portage/ucp/confirmer.rb', line 69

def confirm!(**)
  { approved: true }
end