Class: MDOM::Blockquote
Instance Attribute Summary
Attributes inherited from Node
#attributes, #children, #parent, #type
Instance Method Summary collapse
-
#initialize(children: []) ⇒ Blockquote
constructor
A new instance of Blockquote.
Methods inherited from Node
#[], #ancestors, #append, #children?, #depth, #each_child, #empty?, #find, #find_all, #insert_after, #insert_before, #inspect, #plain_text, #pretty_print, #remove, #replace, #root, #text?, #to_markdown, #to_s, #walk
Constructor Details
#initialize(children: []) ⇒ Blockquote
Returns a new instance of Blockquote.
74 75 76 |
# File 'lib/mdom/nodes.rb', line 74 def initialize(children: []) super(Types::BLOCKQUOTE, children: children) end |