Class: Md2Cnblog::CnblogTranslator
- Inherits:
-
BaseTranslator
- Object
- BaseTranslator
- Md2Cnblog::CnblogTranslator
- Defined in:
- lib/md2cnblog/cnblog_translator.rb
Instance Attribute Summary
Attributes inherited from BaseTranslator
#markdown, #options, #output, #render
Instance Method Summary collapse
-
#initialize(str) ⇒ CnblogTranslator
constructor
A new instance of CnblogTranslator.
Methods inherited from BaseTranslator
#default_options, #default_render, #echo, #start, #start_mute, #valide_option?, #valide_str?
Constructor Details
#initialize(str) ⇒ CnblogTranslator
Returns a new instance of CnblogTranslator.
14 15 16 |
# File 'lib/md2cnblog/cnblog_translator.rb', line 14 def initialize(str) super(str, {}, ::CnblogRender) end |