public Method

BlueCloth.outdent( str )

Return one level of line-leading tabs or spaces from a copy of str and return it.

Source Code

# File bluecloth.rb, line 1139
def outdent( str )
        str.gsub( /^(\t|[ ]{1,#{TabWidth}})/, '')
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.