Class: Putpaws::Prompt
- Inherits:
-
Object
- Object
- Putpaws::Prompt
- Defined in:
- lib/putpaws/prompt.rb
Class Method Summary collapse
Class Method Details
.safe ⇒ Object
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 |