Ruby 1.8.7 リファレンスマニュアル > ライブラリ一覧 > mkmfライブラリ > Kernelモジュール > find_header (private)

instance method Kernel#find_header

find_header(header, *paths) [added by mkmf]

Instructs mkmf to search for the given +header+ in any of the +paths+ provided, and returns whether or not it was found in those paths.

If the header is found then the path it was found on is added to the list of included directories that are sent to the compiler (via the -I switch).