number

number( object=nil ) Class Public methods a string that consists of optional whitespace followed by an optional minus sign followed by a Number followed by whitespace is converted to the IEEE 754 number that is nearest (according to the IEEE 754 round-to-nearest rule) to the mathematical value represented by the string; any other string is converted to NaN boolean true is converted to 1; boolean false is converted to 0 a node-set is first converted to a string as if by a call to th

winfo_screenwidth

winfo_screenwidth() Instance Public methods

to_str

ptr.to_str => stringptr.to_str(len) => string Instance Public methods Returns the pointer contents as a string. When called with no arguments, this method will return the contents with the length of this pointer's size. When called with len, a string of len bytes will be returned. See #to_s

mutex 2

mutex() Instance Public methods

typekind

WIN32OLE_TYPE#typekind #=> number of type. Instance Public methods Returns number which represents type. tobj = WIN32OLE_TYPE.new('Microsoft Word 10.0 Object Library', 'Documents') puts tobj.typekind # => 4

each_line

each_line(*args) Instance Public methods See Zlib::GzipReader documentation for a description.

json_create

json_create(object) Class Public methods Import a JSON Marshalled object. method used for JSON marshalling support.

swapcase

swapcase(string) Instance Public methods

strptime

strptime(date, format, now=self.now) Class Public methods Parses date using Date._strptime and converts it to a Time object. If a block is given, the year described in date is converted by the block. For example: Time.strptime(...) {|y| y < 100 ? (y >= 69 ? y + 1900 : y + 2000) : y} Below is a list of the formating options: %a The abbreviated weekday name (âSunâ) %A The full weekday name (âSundayâ) %b The abbreviated month name (âJanâ) %B The full month

value?

ENV.value?(value) â true or false Class Public methods Returns true if there is an environment variable with the given value.