Class: UltraMarkdown::SyntaxConverter
- Inherits:
-
Object
- Object
- UltraMarkdown::SyntaxConverter
- Includes:
- Filter::BbcodeImage, Filter::BlockQuote, Filter::CodeBlock, Filter::GistTag, Filter::ImageTag
- Defined in:
- lib/ultra_markdown/syntax_convertor.rb
Constant Summary
Constants included from Filter::BlockQuote
Filter::BlockQuote::Author, Filter::BlockQuote::AuthorTitle, Filter::BlockQuote::FullCite, Filter::BlockQuote::FullCiteWithTitle
Constants included from Filter::CodeBlock
Filter::CodeBlock::AllOptions, Filter::CodeBlock::Caption, Filter::CodeBlock::CaptionUrlTitle, Filter::CodeBlock::LangCaption
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ SyntaxConverter
constructor
A new instance of SyntaxConverter.
- #is_rss ⇒ Object
Methods included from Filter::GistTag
Methods included from Filter::ImageTag
Methods included from Filter::BbcodeImage
#convert_bbcode_img, #image_alt
Methods included from Filter::BlockQuote
Methods included from Filter::CodeBlock
#block_code, #code_block, #codespan, #liquid_code_block, #render_octopress_like_code_block, #render_plain
Constructor Details
#initialize(options = {}) ⇒ SyntaxConverter
Returns a new instance of SyntaxConverter.
17 18 19 |
# File 'lib/ultra_markdown/syntax_convertor.rb', line 17 def initialize(={}) @options = end |
Instance Method Details
#is_rss ⇒ Object
21 22 23 24 25 26 27 28 |
# File 'lib/ultra_markdown/syntax_convertor.rb', line 21 def is_rss if !@options[:is_rss] return false else return @options[:is_rss] end end |