Parent

Methods

Fixnum

                                                                    

Enhance the Fixnum class with a XML escaped character conversion.

Constants

XChar

Public Instance Methods

xchr() click to toggle source

XML escaped version of chr

     # File lib/builder/xchar.rb, line 93
 93:   def xchr
 94:     n = XChar::CP1252[self] || self
 95:     case n when *XChar::VALID
 96:       XChar::PREDEFINED[n] or (n<128 ? n.chr : "&##{n};")
 97:     else
 98:       '*'
 99:     end
100:   end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.