class Object

Public Instance Methods

can_compile_extensions?() click to toggle source
# File ext/debug_inspector/extconf.rb, line 9
def can_compile_extensions?
  RUBY_ENGINE == "ruby" or RUBY_ENGINE == "truffleruby"
end
fake_makefile() click to toggle source
# File ext/debug_inspector/extconf.rb, line 1
def fake_makefile
  File.open("Makefile", "w") { |f|
    f.puts '.PHONY: install'
    f.puts 'install:'
    f.puts "\t" + '@echo "This Ruby not supported by/does not require debug_inspector."'
  }
end