org.jruby.ast.visitor.rewriter.utils
Class Indentor

java.lang.Object
  extended by org.jruby.ast.visitor.rewriter.utils.Indentor

public class Indentor
extends java.lang.Object


Constructor Summary
Indentor(int indentationSteps, char indentationChar)
           
 
Method Summary
 char getIndentationChar()
           
 int getIndentationSteps()
           
 void indent()
           
 void outdent()
           
 void printIndentation(java.io.PrintWriter out)
           
 void setIndentationChar(char indentationChar)
           
 void setIndentationSteps(int indentationSteps)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Indentor

public Indentor(int indentationSteps,
                char indentationChar)
Method Detail

indent

public void indent()

outdent

public void outdent()

printIndentation

public void printIndentation(java.io.PrintWriter out)

getIndentationChar

public char getIndentationChar()

setIndentationChar

public void setIndentationChar(char indentationChar)

getIndentationSteps

public int getIndentationSteps()

setIndentationSteps

public void setIndentationSteps(int indentationSteps)


Copyright © 2002-2007 JRuby Team. All Rights Reserved.