exec_format() Class Public methods Defaults to use Ruby's program prefix and suffix.
rat.to_i â integer Instance Public methods Returns the truncated value as an integer. Equivalent to rat.truncate. Rational(2, 3).to_i #=> 0 Rational(3).to_i #=> 3 Rational(300.6).to_i #=> 300 Rational(98,71).to_i #=> 1 Rational(-30,2).to_i #=> -15
stat.nlink â fixnum Instance Public methods Returns the number of hard links to stat. File.stat("testfile").nlink #=> 1 File.link("testfile", "testfile.bak") #=> 0 File.stat("testfile").nlink #=> 2
mime_type(filename, mime_tab) Class Public methods Returns the mime type of filename from the list in mime_tab. If no mime type was found application/octet-stream is returned.
size(types) Class Public methods Given types, returns the offset for the packed sizes of those types DL::CStructEntity.size([DL::TYPE_DOUBLE, DL::TYPE_INT, DL::TYPE_CHAR, DL::TYPE_VOIDP]) => 24
create(*args, &block) Class Public methods
add(*gemspecs) Instance Public methods Adds gemspecs to the dependency list.
xconfig(key, value=None) Instance Public methods
xview(*index) Instance Public methods based on tk/scrollable.rb
createProcessingInstruction(arg0, arg1) Instance Public methods IXMLDOMProcessingInstruction createProcessingInstruction create a processing instruction node BSTR arg0 --- target [IN] BSTR arg1 --- data [IN]
Page 87 of 2275