Use the mixin that is implemented later instead.

Signed-off-by: Jordon Bedwell <jordon@envygeeks.com>
This commit is contained in:
Jordon Bedwell 2011-12-26 19:21:30 -06:00
parent dbaa4b0aef
commit d2d501f386
1 changed files with 2 additions and 2 deletions

View File

@ -187,7 +187,7 @@ class Pry
# Return the syntax for a given editor for starting the editor # Return the syntax for a given editor for starting the editor
# and moving to a particular line within that file # and moving to a particular line within that file
def start_line_syntax_for_editor(file_name, line_number) def start_line_syntax_for_editor(file_name, line_number)
if Helpers::BaseHelpers.windows? if windows?
file_name = file_name.gsub(/\//, '\\') file_name = file_name.gsub(/\//, '\\')
end end
@ -204,7 +204,7 @@ class Pry
when /^jedit/ when /^jedit/
"#{file_name} +line:#{line_number}" "#{file_name} +line:#{line_number}"
else else
if Helpers::BaseHelpers.windows? if windows?
"#{file_name}" "#{file_name}"
else else
"+#{line_number} #{file_name}" "+#{line_number} #{file_name}"