File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
codetracer-pure-ruby-recorder/lib/codetracer
codetracer-ruby-recorder/lib/codetracer Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -17,9 +17,9 @@ def self.install(tracer)
1717 define_method ( :p ) do |*args |
1818 loc = caller_locations ( 1 , 1 ) . first
1919 content = if args . length == 1 && args . first . is_a? ( Array )
20- args . first . map ( &:inspect ) . join ( "\n " )
20+ args . first . map ( &:inspect ) . join ( "\n " ) + " \n "
2121 else
22- args . map ( &:inspect ) . join ( "\n " )
22+ args . map ( &:inspect ) . join ( "\n " ) + " \n "
2323 end
2424 @@tracers . each do |t |
2525 t . record_event ( loc . path , loc . lineno , content )
Original file line number Diff line number Diff line change @@ -17,9 +17,9 @@ def self.install(tracer)
1717 define_method ( :p ) do |*args |
1818 loc = caller_locations ( 1 , 1 ) . first
1919 content = if args . length == 1 && args . first . is_a? ( Array )
20- args . first . map ( &:inspect ) . join ( "\n " )
20+ args . first . map ( &:inspect ) . join ( "\n " ) + " \n "
2121 else
22- args . map ( &:inspect ) . join ( "\n " )
22+ args . map ( &:inspect ) . join ( "\n " ) + " \n "
2323 end
2424 @@tracers . each do |t |
2525 t . record_event ( loc . path , loc . lineno , content )
You can’t perform that action at this time.
0 commit comments