Top Level Namespace

Defined Under Namespace

Classes: DebugInspector

Instance Method Summary collapse

Instance Method Details

#can_compile_extensions?Boolean

Returns:

  • (Boolean)


9
10
11
# File 'ext/debug_inspector/extconf.rb', line 9

def can_compile_extensions?
  RUBY_ENGINE == "ruby" or RUBY_ENGINE == "truffleruby"
end

#fake_makefileObject



1
2
3
4
5
6
7
# 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