Module: Kernel

Defined in:
ext/mkmf-ruby-internal.rb

Instance Method Summary collapse

Instance Method Details

#checking_message(checking_for, headers = nil, opt = "") ⇒ Object



118
119
120
# File 'ext/mkmf-ruby-internal.rb', line 118

def checking_message(checking_for, headers = nil, opt = "")
  return checking_for
end

#have_const(const, headers = nil, opt = "", &b) ⇒ Object



124
125
126
127
128
# File 'ext/mkmf-ruby-internal.rb', line 124

def have_const(const, headers = nil, opt = "", &b)
  checking_for checking_message([*const].compact.join(' '), headers, opt) do
    try_const(const, headers, opt, &b)
  end
end