static public Method

SimpleMarkup.new

take a block of text and use various heuristics to determine it’s structure (paragraphs, lists, and so on). Invoke an event handler as we identify significant chunks.

Source Code

# File rdoc/markup/simple_markup.rb, line 207
def initialize
  @am = AttributeManager.new
  @output = nil
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.