include?

ary.include?(object) â true or false Instance Public methods Returns true if the given object is present in self (that is, if any element == object), otherwise returns false. a = [ "a", "b", "c" ] a.include?("b") #=> true a.include?("z") #=> false

inline_html?

inline_html?() Instance Public methods

public_key

dh.public_key â aDH Instance Public methods Returns a new DH instance that carries just the public information, i.e. the prime p and the generator g, but no public/private key yet. Such a pair may be generated using #generate_key!. The âpublic keyâ needed for a key exchange with #compute_key is considered as per-session information and may be retrieved with DH#pub_key once a key pair has been generated. If the current instance already contains private information (and thus a valid

can_parse_by_name

can_parse_by_name(file_name) Class Public methods Returns a parser that can handle the extension for file_name. This does not depend upon the file being readable.

create_header

create_header(header = "extconf.h") Instance Public methods Generates a header file consisting of the various macro definitions generated by other methods such as #have_func and have_header. These are then wrapped in a custom #ifndef based on the header file name, which defaults to âextconf.hâ. For example: # extconf.rb require 'mkmf' have_func('realpath') have_header('sys/utime.h') create_header create_makefile('foo') The above script would generate the following extconf.h file:

position

position() Instance Public methods

dotconfig

dotconfig(series, key, value=None) Instance Public methods

file_dir

file_dir() Instance Public methods The directory files are written to

package_name

package_name() Class Public methods

add_signer

add_signer(p1) Instance Public methods