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.
-
#outer_el ⇒ Object
readonly
Returns the value of attribute outer_el.
Instance Method Summary collapse
-
#initialize(id, outer_el) ⇒ CustomElement
constructor
A new instance of CustomElement.
- #parse_dom ⇒ Object
Constructor Details
#initialize(id, outer_el) ⇒ CustomElement
Returns a new instance of CustomElement.
5 6 7 8 |
# File 'lib/kramdown/custom_element.rb', line 5 def initialize(id, outer_el) @id = id @outer_el = outer_el 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 |
#outer_el ⇒ Object (readonly)
Returns the value of attribute outer_el.
3 4 5 |
# File 'lib/kramdown/custom_element.rb', line 3 def outer_el @outer_el end |
Instance Method Details
#parse_dom ⇒ Object
10 11 |
# File 'lib/kramdown/custom_element.rb', line 10 def parse_dom end |