Permalink
Browse files

Don't print the literal for <<<

  • Loading branch information...
1 parent 032cf5b commit bc53cac702d64b2ccad7d9b2811d78adf7020384 @gdb committed Oct 13, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/rubysh/triple_less_than.rb
View
2 lib/rubysh/triple_less_than.rb
@@ -47,7 +47,7 @@ def prepare!(runner)
def stringify
fd = Util.to_fileno(@fd)
beginning = fd == 0 ? '' : fd.to_s
- "#{beginning}<<< #{@literal.inspect}"
+ "#{beginning}<<< (#{@literal.bytesize} bytes)"
end
def to_s

0 comments on commit bc53cac

Please sign in to comment.