Class: Pretty (REXML::Formatters)

Overview
Module Structure
Class Hierarchy
Instance Attributes
Pretty#compact [RW]
Pretty#width [RW]
Instance Methods
Pretty#initialize / 2
Pretty#write_element / 2
Pretty#write_text / 2
Pretty#write_comment / 2
Pretty#write_cdata / 2
Pretty#write_document / 2
Pretty#indent_text / 4
Pretty#wrap / 2
is a submodule of
module: Formatters ( REXML )
inherits from
  Default ( REXML::Formatters )
has properties
attribute: compact [RW]   
attribute: width [RW]   
method: initialize / 2   
method: write_element / 2   
method: write_text / 2   
method: write_comment / 2   
method: write_cdata / 2   
method: write_document / 2   
method: indent_text / 4   
method: wrap / 2   
is defined at
#9 in rexml/formatters/pretty.rb  

Overview

Module Structure

  module: <Toplevel Module>
  module: REXML
  module: Formatters
class: Default     
class: Pretty     

Class Hierarchy

Object ( Builtin-Module )
has properties
method: dclone   
Default ( REXML::Formatters )
has properties
method: initialize / 1   
method: write / 2   
method: write_document / 2   
method: write_element / 2   
method: write_text / 2   
method: write_comment / 2   
method: write_cdata / 2   
method: write_instruction / 2   
Pretty ( REXML::Formatters )
has properties
attribute: compact [RW]   
attribute: width [RW]   
method: initialize / 2   
method: write_element / 2   
method: write_text / 2   
method: write_comment / 2   
method: write_cdata / 2   
method: write_document / 2   
method: indent_text / 4   
method: wrap / 2   

Instance Attributes

Pretty#compact [RW]

#13 in rexml/formatters/pretty.rb

Pretty#width [RW]

#15 in rexml/formatters/pretty.rb

Instance Methods

Pretty#initialize / 2

#29 in rexml/formatters/pretty.rb

initialize ( indentation=2 ,
  ie_hack=false )

Pretty#write_element / 2

#37 in rexml/formatters/pretty.rb

write_element ( node ,
  output )

Pretty#write_text / 2

#86 in rexml/formatters/pretty.rb

write_text ( node ,
  output )

Pretty#write_comment / 2

#95 in rexml/formatters/pretty.rb

write_comment ( node ,
  output )

Pretty#write_cdata / 2

#100 in rexml/formatters/pretty.rb

write_cdata ( node ,
  output )

Pretty#write_document / 2

#105 in rexml/formatters/pretty.rb

write_document ( node ,
  output )

Pretty#indent_text / 4

#122 in rexml/formatters/pretty.rb

indent_text ( string ,
  level=1 ,
  style="\t" ,
  indentfirstline=true )

Pretty#wrap / 2

#127 in rexml/formatters/pretty.rb

wrap ( string ,
  width )