Class: Waxx::Console::Stringy
- Inherits:
 - 
      StringIO
      
        
- Object
 - StringIO
 - Waxx::Console::Stringy
 
 
- Defined in:
 - waxx/console.rb
 
Overview
Container for response output when using the console
Instance Attribute Summary collapse
- 
  
    
      #out  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute out.
 
Instance Method Summary collapse
- 
  
    
      #initialize(*args)  ⇒ Stringy 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
Initialize with StringIO args.
 - 
  
    
      #output  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Get the output.
 - 
  
    
      #print(str)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Write to the output.
 - 
  
    
      #reset  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Clear the out to run another request.
 
Constructor Details
#initialize(*args) ⇒ Stringy
Initialize with StringIO args
      19 20 21 22  | 
    
      # File 'waxx/console.rb', line 19 def initialize(*args) super *args @out = "" end  | 
  
Instance Attribute Details
#out ⇒ Object (readonly)
Returns the value of attribute out
      17 18 19  | 
    
      # File 'waxx/console.rb', line 17 def out @out end  |