class Object
Public Instance Methods
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
mri_2_or_3?()
click to toggle source
# File ext/debug_inspector/extconf.rb, line 9 def mri_2_or_3? defined?(RUBY_ENGINE) && RUBY_ENGINE == "ruby" && RUBY_VERSION =~ /^[23]/ end