From 46f97884bfcc588d55276a99a4a9a44d2fee14e8 Mon Sep 17 00:00:00 2001 From: Jordon Bedwell Date: Mon, 5 Mar 2012 06:06:04 -0600 Subject: [PATCH] Add an extra newline to Pry::Code.raw. --- lib/pry/code.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pry/code.rb b/lib/pry/code.rb index 0986ea25..d062b546 100644 --- a/lib/pry/code.rb +++ b/lib/pry/code.rb @@ -309,7 +309,7 @@ class Pry # # @return [String] def raw - @lines.map(&:first).join("\n") + @lines.map(&:first).join("\n") + "\n" end # Return the number of lines stored.