Suffixes for dynamic library require-able paths.
Generates a cryptographically strong pseudo-random number in the range 0…range
.
See also the man page BN_rand_range(3).
Returns the size of arguments of the method.
tobj = WIN32OLE::Type.new('Microsoft Excel 9.0 Object Library', 'Workbook') method = WIN32OLE::Method.new(tobj, 'SaveAs') puts method.size_params # => 11
Returns library name. If the method fails to access library name, WIN32OLE::RuntimeError
is raised.
tlib = WIN32OLE::TypeLib.new('Microsoft Excel 9.0 Object Library') tlib.library_name # => Excel
def repeated_parameter?: () -> bool
def repeated_parameter?: () -> bool
def repeated_parameter?: () -> bool
def repeated_parameter?: () -> bool
def repeated_parameter?: () -> bool
def repeated_parameter?: () -> bool
def repeated_parameter?: () -> bool
def repeated_parameter?: () -> bool
Return the character offset for the given byte offset.
Return the column number in characters for the given byte offset.
Return the character offset for the given byte offset.
Return the column number in characters for the given byte offset.
Returns the one-character string which cause Encoding::UndefinedConversionError
.
ec = Encoding::Converter.new("ISO-8859-1", "EUC-JP") begin ec.convert("\xa0") rescue Encoding::UndefinedConversionError puts $!.error_char.dump #=> "\xC2\xA0" p $!.error_char.encoding #=> #<Encoding:UTF-8> end