public Method

Lines.normalize

There's no documentation for this item.

Source Code

# File rdoc/markup/simple_markup/lines.rb, line 137
def normalize
  margin = @lines.collect{|l| l.leading_spaces}.min
  margin = 0 if margin == Line::INFINITY
  @lines.each {|line| line.strip_leading(margin) } if margin > 0
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.