Current File : //proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/REXML/Functions/string-c.yaml |
--- !ruby/object:RI::MethodDescription
aliases: []
block_params:
comment:
- !ruby/struct:SM::Flow::P
body: A node-set is converted to a string by returning the string-value of the node in the node-set that is first in document order. If the node-set is empty, an empty string is returned.
- !ruby/struct:SM::Flow::P
body: A number is converted to a string as follows
- !ruby/struct:SM::Flow::P
body: NaN is converted to the string NaN
- !ruby/struct:SM::Flow::P
body: positive zero is converted to the string 0
- !ruby/struct:SM::Flow::P
body: negative zero is converted to the string 0
- !ruby/struct:SM::Flow::P
body: positive infinity is converted to the string Infinity
- !ruby/struct:SM::Flow::P
body: negative infinity is converted to the string -Infinity
- !ruby/struct:SM::Flow::P
body: if the number is an integer, the number is represented in decimal form as a Number with no decimal point and no leading zeros, preceded by a minus sign (-) if the number is negative
- !ruby/struct:SM::Flow::P
body: otherwise, the number is represented in decimal form as a Number including a decimal point with at least one digit before the decimal point and at least one digit after the decimal point, preceded by a minus sign (-) if the number is negative; there must be no leading zeros before the decimal point apart possibly from the one required digit immediately before the decimal point; beyond the one required digit after the decimal point there must be as many, but only as many, more digits as are needed to uniquely distinguish the number from all other IEEE 754 numeric values.
- !ruby/struct:SM::Flow::P
body: The boolean false value is converted to the string false. The boolean true value is converted to the string true.
- !ruby/struct:SM::Flow::P
body: An object of a type other than the four basic types is converted to a string in a way that is dependent on that type.
full_name: REXML::Functions::string
is_singleton: true
name: string
params: ( object=nil )
visibility: public