Module: RedCloth

Defined in:
lib/redcloth.rb,
lib/redcloth/version.rb,
lib/redcloth/textile_doc.rb,
ext/redcloth_scan/redcloth_scan.c

Defined Under Namespace

Modules: Formatters, VERSION Classes: TextileDoc

Constant Summary collapse

NAME =
"RedCloth"
GEM_NAME =
NAME
URL =
"http://redcloth.org/"
SUMMARY =
"#{NAME}-#{VERSION::FULL_VERSION}"
DESCRIPTION =
SUMMARY + " - #{description}\n#{URL}"
EXTENSION_LANGUAGE =
rb_str_new2("C")

Class Method Summary collapse

Class Method Details

.include(*args) ⇒ Object

Include extension modules (if any) in TextileDoc.



34
35
36
# File 'lib/redcloth.rb', line 34

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.



29
30
31
# File 'lib/redcloth.rb', line 29

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