Class: Putpaws::Prompt

Inherits:
Object
  • Object
show all
Defined in:
lib/putpaws/prompt.rb

Class Method Summary collapse

Class Method Details

.safeObject



5
6
7
8
# File 'lib/putpaws/prompt.rb', line 5

def self.safe
  default_args = {output: IO.console || $stderr}
  TTY::Prompt.new(**default_args)
end