class Object

Public Instance Methods

fake_makefile() click to toggle source
# File ext/binding_of_caller/extconf.rb, line 1
def fake_makefile
  File.open(File.join(File.dirname(__FILE__), "Makefile"), "w") do |f|
    f.puts %[install:\n\techo "Nada."]
  end
end
mri_1_9?() click to toggle source
# File ext/binding_of_caller/extconf.rb, line 7
def mri_1_9?
  defined?(RUBY_ENGINE) && RUBY_ENGINE == "ruby" &&
    RUBY_VERSION =~ /^1\.9/
end