D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
REXML
/
Formatters
/
Pretty
/
Filename :
cdesc-Pretty.yaml
back
Copy
--- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: If compact is set to true, then the formatter will attempt to use as little space as possible name: compact rw: RW - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: The width of a page. Used for formatting text name: width rw: RW class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Pretty-prints an XML document. This destroys whitespace in text nodes and will insert carriage returns and indentations. - !ruby/struct:SM::Flow::P body: "TODO: Add an option to print attributes on new lines" constants: [] full_name: REXML::Formatters::Pretty includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: indent_text - !ruby/object:RI::MethodSummary name: wrap - !ruby/object:RI::MethodSummary name: write_cdata - !ruby/object:RI::MethodSummary name: write_comment - !ruby/object:RI::MethodSummary name: write_document - !ruby/object:RI::MethodSummary name: write_element - !ruby/object:RI::MethodSummary name: write_text name: Pretty superclass: Default