Top Level Namespace
Defined Under Namespace
Classes: URIParser
Instance Method Summary collapse
Instance Method Details
#failure(s) ⇒ Object
25 26 27 28 29 |
# File 'ext/uri_parser/extconf.rb', line 25 def failure s Logging:: s s+"\n" exit(1) end |
#find_header_or_fail(hdr) ⇒ Object
37 38 39 40 41 |
# File 'ext/uri_parser/extconf.rb', line 37 def find_header_or_fail hdr unless have_header(hdr) failure "Cannot find required header %s (have you installed icu?)" % hdr end end |
#find_library_or_fail(lib, func) ⇒ Object
31 32 33 34 35 |
# File 'ext/uri_parser/extconf.rb', line 31 def find_library_or_fail(lib,func) unless have_library(lib, func) failure "Cannot find required library %s (have you installed icu?)" % lib end end |