Class: Marko::Markup::Parser

Inherits:
Parser
  • Object
show all
Defined in:
lib/marko/markup/parser.rb

Defined Under Namespace

Classes: Origin

Instance Method Summary collapse

Methods included from Pluggable

#plug

Instance Method Details

#call(content, source, &block) ⇒ Object

See Also:



12
13
14
15
# File 'lib/marko/markup/parser.rb', line 12

def call(content, source, &block)
  @source = source
  parse(content, &block)
end