Class: Kramdown::CustomElement
- Inherits:
-
Object
- Object
- Kramdown::CustomElement
- Defined in:
- lib/kramdown/custom_element.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
Instance Method Summary collapse
-
#initialize(id) ⇒ CustomElement
constructor
A new instance of CustomElement.
- #parse_dom(root) ⇒ Object
Constructor Details
#initialize(id) ⇒ CustomElement
Returns a new instance of CustomElement.
5 6 7 |
# File 'lib/kramdown/custom_element.rb', line 5 def initialize(id) @id = id end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
3 4 5 |
# File 'lib/kramdown/custom_element.rb', line 3 def id @id end |
Instance Method Details
#parse_dom(root) ⇒ Object
9 10 |
# File 'lib/kramdown/custom_element.rb', line 9 def parse_dom(root) end |