mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
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
1 changed files with 2 additions and 2 deletions
|
@ -187,7 +187,7 @@ class Pry
|
|||
# Return the syntax for a given editor for starting the editor
|
||||
# and moving to a particular line within that file
|
||||
def start_line_syntax_for_editor(file_name, line_number)
|
||||
if Helpers::BaseHelpers.windows?
|
||||
if windows?
|
||||
file_name = file_name.gsub(/\//, '\\')
|
||||
end
|
||||
|
||||
|
@ -204,7 +204,7 @@ class Pry
|
|||
when /^jedit/
|
||||
"#{file_name} +line:#{line_number}"
|
||||
else
|
||||
if Helpers::BaseHelpers.windows?
|
||||
if windows?
|
||||
"#{file_name}"
|
||||
else
|
||||
"+#{line_number} #{file_name}"
|
||||
|
|
Loading…
Reference in a new issue