new

initialize( file_name, yaml_opts = {} ) Class Public methods Creates a new YAML::Store object, which will store data in file_name. If the file does not already exist, it will be created. Options passed in through yaml_opts will be used when converting the store to YAML via Object#to_yaml.

find_some

find_some(ids) Instance Protected methods

set_scrollbarwidth

set_scrollbarwidth(width) Instance Public methods Also aliased as: scrollbarwidth

last_error

ec.last_error â exception or nil Instance Public methods Returns an exception object for the last conversion. Returns nil if the last conversion did not produce an error. âerrorâ means that Encoding::InvalidByteSequenceError and Encoding::UndefinedConversionError for #convert and :invalid_byte_sequence, :incomplete_input and :undefined_conversion for #primitive_convert. ec = Encoding::Converter.new("utf-8", "iso-8859-1") p ec.primitive_convert(src="\xf1abcd", dst="") #=>

add

add(element=nil) Instance Public methods Adds an element element if supplied, is either an Element, String, or Source (see Element.initialize). If not supplied or nil, a new, default Element will be constructed Returns the added Element a = Element.new('a') a.elements.add(Element.new('b')) #-> <a><b/></a> a.elements.add('c') #-> <a><b/><c/></a> <<

display_tasks_and_comments

display_tasks_and_comments() Instance Public methods Display the tasks and comments.

selectSingleNode

selectSingleNode(arg0) Instance Public methods IXMLDOMNode selectSingleNode execute query on the subtree BSTR arg0 --- queryString [IN]

new

new(io, limit) Class Public methods Wraps io and allows up to limit bytes to be written

is_itcl_instance

is_itcl_instance(klass, target) Class Public methods

new

new( first, parent=nil ) Class Public methods Constructor dt = DocType.new( 'foo', '-//I/Hate/External/IDs' ) # <!DOCTYPE foo '-//I/Hate/External/IDs'> dt = DocType.new( doctype_to_clone ) # Incomplete. Shallow clone of doctype Note that the constructor: Doctype.new( Source.new( "<!DOCTYPE foo 'bar'>" ) ) is deprecated. Do not use it. It will probably disappear.