WIN32OLE_TYPELIB#path â The type library file path. Instance Public methods Returns the type library file path. tlib = WIN32OLE_TYPELIB.new('Microsoft Excel 9.0 Object Library') puts tlib.path #-> 'C:\...\EXCEL9.OLB'
option_groups_from_collection_for_select(collection, group_method, group_label_method, option_key_method, option_value_method, selected_key = nil) Instance Public methods Returns a string of <option> tags, like options_from_collection_for_select, but groups them by <optgroup> tags based on the object relationships of the arguments. Parameters: collection - An array of objects representing the <optgroup> tags. group_method - The name of a method which, when call
plot_line(dat, color) Instance Public methods
dataType=(arg0) Instance Public methods VOID dataType the data type of the node
number_to_rounded(number, options = {}) Instance Public methods Formats a number with the specified level of :precision (e.g., 112.32 has a precision of 2 if :significant is false, and 5 if :significant is true). You can customize the format in the options hash. Options :locale - Sets the locale to be used for formatting (defaults to current locale). :precision - Sets the precision of the number (defaults to 3). :significant - If true, precision will be the # of significant_di
rfc2822(date) Class Public methods Parses date as date-time defined by RFC 2822 and converts it to a Time object. The format is identical to the date format defined by RFC 822 and updated by RFC 1123. ArgumentError is raised if date is not compliant with RFC 2822 or if the Time class cannot represent specified date. See rfc2822 for more information on this format. You must require 'time' to use this method. rfc822
new(message, original_exception) Class Public methods
reset() Instance Public methods
element_to_sym(*idxs) Instance Public methods Also aliased as: symbol_element
new(arg) Class Public methods The type of this event. Will be one of :tag_start, :tag_end, :text, :processing_instruction, :comment, :doctype, :attlistdecl, :entitydecl, :notationdecl, :entity, :cdata, :xmldecl, or :error.
Page 2178 of 2275