Module: Doing::PromptSTD
- Included in:
- Prompt
- Defined in:
- lib/doing/prompt/std.rb
Overview
STDOUT and STDERR methods
Instance Method Summary collapse
- 
  
    
      #clear_screen(msg = nil)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Clear the terminal screen. 
- 
  
    
      #restore_std  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Restore silenced STDOUT and STDERR. 
- 
  
    
      #silence_std(file = '/dev/null')  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Redirect STDOUT and STDERR to /dev/null or file.