Method: U3dCore::Shell#confirm

Defined in:
lib/u3d_core/ui/implementations/shell.rb

#confirm(message) ⇒ Object



148
149
150
151
# File 'lib/u3d_core/ui/implementations/shell.rb', line 148

def confirm(message)
  verify_interactive!(message)
  agree("#{format_string}#{message.to_s.yellow} (y/n)", true)
end