inherited

inherited(klass) Instance Public methods Sets the default wrapper key or model which will be used to determine wrapper key and attribute names. Will be called automatically when the module is inherited.

[]=

WIN32OLE[a1, a2, ...]=val Instance Public methods Sets the value to WIN32OLE object specified by a1, a2, ⦠dict = WIN32OLE.new('Scripting.Dictionary') dict.add('ruby', 'RUBY') dict['ruby'] = 'Ruby' puts dict['ruby'] # => 'Ruby' Remark: You can not use this method to set the property value. excel = WIN32OLE.new('Excel.Application') # excel['Visible'] = true # This is error !!! excel.Visible = true # You should to use this style to set the property.

read_file

read_file(file, pri=None) Class Public methods Alias for: readfile

current

Fiber.current() â fiber Class Public methods Returns the current fiber. You need to require 'fiber' before using this method. If you are not running in the context of a fiber this method will return the root fiber.

move_piece

move_piece(last, square) Instance Public methods Perform a Knight's move and schedule the next move.

tag_lower

tag_lower(tag, below=None) Instance Public methods

add_alias

add_alias(an_alias, context) Instance Public methods Add an_alias as an attribute in context.

<<

fix Instance Public methods Shifts fix left count positions (right if count is negative).

re_sign

re_sign(expired_certificate, private_key, age = ONE_YEAR, extensions = EXTENSIONS) Class Public methods Signs expired_certificate with private_key if the keys match and the expired certificate was self-signed.

each_pair

gdbm.each_pair { |key, value| block } â gdbm Instance Public methods Executes block for each key in the database, passing the key and the correspoding value as a parameter.