class RedCloth::TextileDoc

def initialize( string, restrictions = [] )


#=>"

A bold man

"
r.to_html
#=> "h1. A *bold* man"
r = RedCloth.new( "h1. A *bold* man" )

any _restrictions_ specified.
Returns a new RedCloth object, based on _string_, observing
def initialize( string, restrictions = [] )
  restrictions.each { |r| method("#{r}=").call( true ) }
  super( string )
end