Method: Shr::Shell#inspect
- Defined in:
- lib/shr/shell.rb
#inspect ⇒ Object
30 31 32 33 34 35 36 37 38 |
# File 'lib/shr/shell.rb', line 30 def inspect command_line = @commands.map {|c| c.first }.join(' | ').strip force res = "#<Shr::Shell>" res << "<:command => #{command_line}>" if command_line.size > 0 res << "\n" if filled? res << @command_out.read if filled? res end |