Top Level Namespace
Defined Under Namespace
Modules: Digest
Instance Method Summary collapse
Instance Method Details
#cflags(*args) ⇒ Object
6 7 8 9 10 |
# File 'ext/digest/extconf.rb', line 6 def cflags(*args) args.each do |str| $CFLAGS += (ENV["OS"] == "Windows_NT") ? " #{str} " : " #{str.shellescape} " end end |
#have_func!(header, *args) ⇒ Object
16 17 18 |
# File 'ext/digest/extconf.rb', line 16 def have_func!(header, *args) exit 1 unless have_func(*args, header) end |
#have_header!(*args) ⇒ Object
12 13 14 |
# File 'ext/digest/extconf.rb', line 12 def have_header!(*args) exit 1 unless have_header(*args) end |