Merge pull request #46986 from jonathanhefner/runner-hide-looks_like_a_file_path
Hide `runner:looks_like_a_file_path?`
This commit is contained in:
commit
045c524ae2
@ -66,9 +66,10 @@ def perform(code_or_file = nil, *command_argv)
|
||||
end
|
||||
end
|
||||
|
||||
def looks_like_a_file_path?(code_or_file)
|
||||
code_or_file.ends_with?(".rb")
|
||||
end
|
||||
private
|
||||
def looks_like_a_file_path?(code_or_file)
|
||||
code_or_file.ends_with?(".rb")
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user