Module: Asuka

Defined in:
lib/asuka.rb,
lib/asuka/rules.rb,
lib/asuka/parser.rb,
lib/asuka/document.rb,
lib/asuka/formatter.rb,
lib/asuka/accumulator.rb,
lib/asuka/line_formatter.rb

Defined Under Namespace

Modules: HTMLable, Rules Classes: Accumulator, Block, Blockquote, Document, Formatter, Header, LineFormatter, LineGroup, List, Paragraph, Parser, PreFormatter, Rule, UnorderedList

Constant Summary collapse

DEFAULT_LINE_FORMATTER =
LineFormatter.new(Formatter.new)
DEFAULT_PRE_LINE_FORMATTER =
LineFormatter.new(PreFormatter.new)

Class Method Summary collapse

Class Method Details

.new(*args, &block) ⇒ Object



12
13
14
# File 'lib/asuka.rb', line 12

def self.new(*args, &block)
  Asuka::Document.new(*args, &block)
end