Class: MDOM::Hardbreak
- Inherits:
-
InlineNode
- Object
- Node
- InlineNode
- MDOM::Hardbreak
- Defined in:
- lib/mdom/nodes.rb
Instance Attribute Summary
Attributes inherited from Node
#attributes, #children, #parent, #type
Instance Method Summary collapse
-
#initialize ⇒ Hardbreak
constructor
A new instance of Hardbreak.
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 ⇒ Hardbreak
Returns a new instance of Hardbreak.
210 211 212 |
# File 'lib/mdom/nodes.rb', line 210 def initialize super(Types::HARDBREAK) end |