Skip to content

Commit 16b5f13

Browse files
committed
Make Truffle::Boot.find_s_file public
* So it can be called from the launcher directly. * Anything under Truffle is anyway internal.
1 parent f6b5e15 commit 16b5f13

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/main/ruby/core/truffle/boot.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ def self.check_syntax(source_or_file)
2222
STDERR.puts "SyntaxError in #{e.message}"
2323
1
2424
end
25-
2625
private_class_method :check_syntax
2726

2827
def self.find_s_file(name)
@@ -46,16 +45,13 @@ def self.find_s_file(name)
4645
raise LoadError, "No such file or directory -- #{name}"
4746
end
4847

49-
private_class_method :find_s_file
50-
5148
def self.find_in_environment_paths(name, env_value)
5249
env_value.to_s.split(File::PATH_SEPARATOR).each do |path|
5350
name_in_path = "#{path}/#{name}"
5451
return name_in_path if File.exist?(name_in_path)
5552
end
5653
nil
5754
end
58-
5955
private_class_method :find_in_environment_paths
6056

6157
end

0 commit comments

Comments
 (0)