invoke_kind

WIN32OLE_METHOD#invoke_kind Instance Public methods Returns the method kind string. The string is âUNKNOWNâ or âPROPERTYâ or âPROPERTYâ or âPROPERTYGETâ or âPROPERTYPUTâ or âPROPERTYPPUTREFâ or âFUNCâ. tobj = WIN32OLE_TYPE.new('Microsoft Excel 9.0 Object Library', 'Workbooks') method = WIN32OLE_METHOD.new(tobj, 'Add') puts method.invoke_kind # => "FUNC"

tuesday?

d.tuesday? â bool Instance Public methods Returns true if the date is Tuesday.

encoding_convert_from

encoding_convert_from(str, enc=None) Class Public methods Alias for: encoding_convertfrom

format

format(clk, form=nil) Class Public methods

build_args

build_args() Class Public methods Arguments used when building gems

getsid

Process.getsid() â integerProcess.getsid(pid) â integer Class Public methods Returns the session ID for for the given process id. If not give, return current process sid. Not available on all platforms. Process.getsid() #=> 27422 Process.getsid(0) #=> 27422 Process.getsid(Process.pid()) #=> 27422

terminate_interaction

terminate_interaction(*args) Instance Public methods

scrolledWidget

scrolledWidget(parent, klass, themed, *args) Instance Public methods

chomp

str.chomp(separator=$/) â new_str Instance Public methods Returns a new String with the given record separator removed from the end of str (if present). If $/ has not been changed from the default Ruby record separator, then chomp also removes carriage return characters (that is it will remove \n, \r, and \r\n). If $/ is an empty string, it will remove all trailing newlines from the string. "hello".chomp #=> "hello" "hello\n".chomp #=> "hello" "

signed

signed() Instance Public methods Returns a jar that'll automatically generate a signed representation of cookie value and verify it when reading from the cookie again. This is useful for creating cookies with values that the user is not supposed to change. If a signed cookie was tampered with by the user (or a 3rd party), nil will be returned. If secrets.secret_key_base and secrets.secret_token (deprecated) are both set, legacy cookies signed with the old key generator will be tran