class Qiita::Markdown::Filters::CustomBlock::Metadata
Attributes
Public Class Methods
Source
# File lib/qiita/markdown/filters/custom_block.rb, line 26 def initialize(text) # Discared after the second word. @type, @subtype = text && text.split(" ") end
@param text [String, nil] @note Attribute ‘type` will be nil if `text` is nil @note Attribute `subtype` will be nil if `text` does not include white space.