Module: RedCloth

Defined in:
lib/redcloth.rb,
lib/redcloth/version.rb,
lib/redcloth/textile_doc.rb

Defined Under Namespace

Modules: Formatters, VERSION Classes: TextileDoc

Constant Summary collapse

NAME =
"RedCloth"
GEM_NAME =
NAME
URL =
"http://redcloth.org/"
DESCRIPTION =
"#{NAME}-#{VERSION::FULL_VERSION} - Textile parser for Ruby.\n#{URL}"

Class Method Summary collapse

Class Method Details

.include(*args) ⇒ Object

Include extension modules (if any) in TextileDoc.



26
27
28
# File 'lib/redcloth.rb', line 26

def self.include(*args)
  RedCloth::TextileDoc.send(:include, *args)
end

.new(*args, &block) ⇒ Object

A convenience method for creating a new TextileDoc. See RedCloth::TextileDoc.



21
22
23
# File 'lib/redcloth.rb', line 21

def self.new( *args, &block )
  RedCloth::TextileDoc.new( *args, &block )
end