Use the mixin that is implemented later instead.
Signed-off-by: Jordon Bedwell <jordon@envygeeks.com>
This commit is contained in:
parent
dbaa4b0aef
commit
d2d501f386
|
@ -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}"
|
||||||
|
|
Loading…
Reference in New Issue