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:
Jonathan Hefner 2023-01-12 17:33:31 -06:00 committed by GitHub
commit 045c524ae2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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