From a7bee694526781436edb6f6840ae5513c71e5e2d Mon Sep 17 00:00:00 2001 From: dearblue Date: Fri, 26 May 2023 21:37:29 +0900 Subject: [PATCH] Fixed visibility of `MRuby::Command::Compiler#setup_debug` In #5977 it was incorrectly set to `private`. --- lib/mruby/build/command.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/mruby/build/command.rb b/lib/mruby/build/command.rb index 230787ea0..62f364cbf 100644 --- a/lib/mruby/build/command.rb +++ b/lib/mruby/build/command.rb @@ -129,6 +129,12 @@ module MRuby end end + # This method can be redefined as a singleton method where appropriate. + # Manipulate `flags`, `include_paths` and/or more if necessary. + def setup_debug(conf) + nil + end + private # @@ -172,12 +178,6 @@ module MRuby def object_ext?(path) File.extname(path) == build.exts.object end - - # This method can be redefined as a singleton method where appropriate. - # Manipulate `flags`, `include_paths` and/or more if necessary. - def setup_debug(conf) - nil - end end class Command::Linker < Command