setActiveItem

setActiveItem(w, idx) Class Public methods

class_eval

mod.class_eval(string [, filename [, lineno]]) â obj Instance Public methods Evaluates the string or block in the context of mod, except that when a block is given, constant/class variable lookup is not affected. This can be used to add methods to a class. module_eval returns the result of evaluating its argument. The optional filename and lineno parameters set the text for error messages. class Thing end a = %q{def hello() "Hello there!" end} Thing.module_eval(a) puts Thing.new.h

edit

edit(where, tree, list, node) Class Public methods

createDocumentFragment

createDocumentFragment() Instance Public methods IXMLDOMDocumentFragment createDocumentFragment create a DocumentFragment node

singularize

singularize(locale = :en) Instance Public methods The reverse of pluralize, returns the singular form of a word in a string. If the optional parameter locale is specified, the word will be singularized as a word of that language. By default, this parameter is set to :en. You must define your own inflection rules for languages other than English. 'posts'.singularize # => "post" 'octopi'.singularize # => "octopus" 'sheep'.singularize # => "she

generate_propget_methods

generate_propget_methods(klass, io = STDOUT) Instance Public methods

convert

convert(content) Instance Public methods Marks up content

ownerDocument

ownerDocument() Instance Public methods IXMLDOMDocument ownerDocument document that contains the node

ole_typelib

WIN32OLE#ole_typelib â The WIN32OLE_TYPELIB object Instance Public methods Returns the WIN32OLE_TYPELIB object. The object represents the type library which contains the WIN32OLE object. excel = WIN32OLE.new('Excel.Application') tlib = excel.ole_typelib puts tlib.name # -> 'Microsoft Excel 9.0 Object Library'

push_workspace

push_workspace(*_main) Instance Public methods Creates a new workspace with the given object or binding, and appends it onto the current workspaces stack. See #change_workspace and IRB::WorkSpace.new for more information.