Method: RDoc::Markdown::Literals#initialize

Defined in:
lib/rdoc/markdown/literals.rb

#initialize(str, debug = false) ⇒ Literals

This is distinct from setup_parser so that a standalone parser can redefine #initialize and still have access to the proper parser setup code.



17
18
19
# File 'lib/rdoc/markdown/literals.rb', line 17

def initialize(str, debug=false)
  setup_parser(str, debug)
end