Skip to content

Commit

Permalink
Don't print the literal for <<<
Browse files Browse the repository at this point in the history
  • Loading branch information
gdb committed Oct 13, 2013
1 parent 032cf5b commit bc53cac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rubysh/triple_less_than.rb
Expand Up @@ -47,7 +47,7 @@ def prepare!(runner)
def stringify def stringify
fd = Util.to_fileno(@fd) fd = Util.to_fileno(@fd)
beginning = fd == 0 ? '' : fd.to_s beginning = fd == 0 ? '' : fd.to_s
"#{beginning}<<< #{@literal.inspect}" "#{beginning}<<< (#{@literal.bytesize} bytes)"
end end


def to_s def to_s
Expand Down

0 comments on commit bc53cac

Please sign in to comment.