In Files

Parent

Methods

Class/Module Index [+]

Quicksearch

BlueCloth::FormatError

Exception class for formatting errors.

Public Class Methods

new( str, specific=nil ) click to toggle source

Create a new FormatError with the given source str and an optional message about the specific error.

# File lib/bluecloth.rb, line 68
def initialize( str, specific=nil )
        if specific
                msg = "Bad markdown format near %p: %s" % [ str, specific ]
        else
                msg = "Bad markdown format near %p" % str
        end

        super( msg )
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.