lib/pry-moves/pry_ext.rb in pry-moves-1.0.11 vs lib/pry-moves/pry_ext.rb in pry-moves-1.0.12
- old
+ new
@@ -110,11 +110,11 @@
me = PryMoves::Painter.colorize me if me
me
end
def location
- defined?(Rails) ? @file.gsub(Rails.root.to_s, '') : @file
+ @file
end
end
Pry.config.marker = "=>"
Pry::Code::LOC.class_eval do
@@ -139,6 +139,6 @@
first.slice! 400..-1
end
pry_moves_origin_for_puts *args
end
-end if defined? Pry::Output
\ No newline at end of file
+end if defined? Pry::Output