Top Level Namespace
Defined Under Namespace
Modules: DebugInspector
Instance Method Summary collapse
Instance Method Details
#fake_makefile ⇒ Object
1 2 3 4 5 |
# File 'ext/debug_inspector/extconf.rb', line 1 def fake_makefile File.open(File.join(File.dirname(__FILE__), "Makefile"), "w") {|f| f.puts %[install:\n\techo "Nada."] } end |
#mri_2? ⇒ Boolean
7 8 9 10 |
# File 'ext/debug_inspector/extconf.rb', line 7 def mri_2? defined?(RUBY_ENGINE) && RUBY_ENGINE == "ruby" && RUBY_VERSION =~ /^2/ end |