inspect

inspect() Instance Public methods

next_element

next_element() Instance Public methods Returns the next sibling that is an element, or nil if there is no Element sibling after this one doc = Document.new '<a><b/>text<c/></a>' doc.root.elements['b'].next_element #-> <c/> doc.root.elements['c'].next_element #-> nil

ole_get_methods

WIN32OLE#ole_get_methods Instance Public methods Returns the array of WIN32OLE_METHOD object . The element of the array is property (gettable) of WIN32OLE object. excel = WIN32OLE.new('Excel.Application') properties = excel.ole_get_methods

enabled?

GC::Profiler.enabled? â true or false Class Public methods The current status of GC profile mode.

atomic_write

atomic_write(file_name, temp_dir = Dir.tmpdir) Class Public methods Write to a file atomically. Useful for situations where you don't want other processes or threads to see half-written files. File.atomic_write('important.file') do |file| file.write('hello') end If your temp directory is not on the same filesystem as the file you're trying to write, you can provide a different temporary directory. File.atomic_write('/data/something.important', '/data/tmp') do |file| file.write

detached?

detached?() Instance Public methods

to_feed

to_feed(rss, item) Instance Public methods

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')

signed_or_encrypted

signed_or_encrypted() Instance Public methods Returns the signed or encrypted jar, preferring encrypted if secret_key_base is set. Used by ActionDispatch::Session::CookieStore to avoid the need to introduce new cookie stores.

remove

remove() Instance Public methods Removes this Attribute from the tree, and returns true if successfull This method is usually not called directly.