Top Level Namespace
Instance Method Summary collapse
Instance Method Details
#fake_makefile ⇒ Object
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 |
#mri_2_or_3? ⇒ Boolean
9 10 11 12 |
# File 'ext/debug_inspector/extconf.rb', line 9 def mri_2_or_3? defined?(RUBY_ENGINE) && RUBY_ENGINE == "ruby" && RUBY_VERSION =~ /^[23]/ end |