have_struct_member

have_struct_member(type, member, headers = nil, opt = "", &b) Instance Public methods Returns whether or not the struct of type type contains member. If it does not, or the struct type can't be found, then false is returned. You may optionally specify additional headers in which to look for the struct (in addition to the common header files). If found, a macro is passed as a preprocessor constant to the compiler using the type name and the member name, in uppercase, prepended

new

new(command, summary=nil, defaults={}) Class Public methods Initializes a generic gem command named command. summary is a short description displayed in `gem help commands`. defaults are the default options. Defaults should be mirrored in defaults_str, unless there are none. When defining a new command subclass, use #add_option to add command-line switches. Unhandled arguments (gem names, files, etc.) are left in options[:args].

odd?

big.odd? â true or false Instance Public methods Returns true if big is an odd number.

new

Digest.new(string [, data]) â Digest Class Public methods Creates a Digest instance based on string, which is either the ln (long name) or sn (short name) of a supported digest algorithm. If data (a String) is given, it is used as the initial input to the Digest instance, i.e. digest = OpenSSL::Digest.new('sha256', 'digestdata') is equal to digest = OpenSSL::Digest.new('sha256') digest.update('digestdata') Example digest = OpenSSL::Digest.new('sha1')

rootx

rootx(win) Class Public methods

last

last() Instance Public methods Returns the last item in the list

view_context_class

view_context_class() Instance Public methods

render_file_from_template

render_file_from_template() Instance Public methods

nodeTypeString

nodeTypeString() Instance Public methods BSTR nodeTypeString the type of node in string form

xml_http_request

xml_http_request(request_method, action, parameters = nil, session = nil, flash = nil) Instance Public methods Also aliased as: xhr