insert

insert(idx, *lines) Instance Public methods

show_now

show_now() Instance Public methods

valid?

valid?() Instance Public methods Also aliased as: isvalid?

add_text

add_text(src, text) Instance Public methods

ipv4_mapped?

ipv4_mapped?() Instance Public methods Returns true if the ipaddr is an IPv4-mapped IPv6 address.

list

list() Instance Public methods Also aliased as: to_a, to_ary

conditional_hello_with_expires_in_with_public_with_more_keys

conditional_hello_with_expires_in_with_public_with_more_keys() Instance Public methods

have_framework

have_framework(fw, &b) Instance Public methods Returns whether or not the given framework can be found on your system. If found, a macro is passed as a preprocessor constant to the compiler using the framework name, in uppercase, prepended with HAVE_FRAMEWORK_. For example, if have_framework('Ruby') returned true, then the HAVE_FRAMEWORK_RUBY preprocessor macro would be passed to the compiler. If fw is a pair of the framework name and its header file name that header file is ch

add_constant

add_constant(constant) Instance Public methods Adds constant if not already there. If it is, updates the comment, value and/or is_alias_for of the known constant if they were empty/nil.

shellsplit

shellsplit(line) Class Public methods Splits a string into an array of tokens in the same way the UNIX Bourne shell does. argv = Shellwords.split('here are "two words"') argv #=> ["here", "are", "two words"] String#shellsplit is a shortcut for this function. argv = 'here are "two words"'.shellsplit argv #=> ["here", "are", "two words"] shellwords split