Class: Kramdown::CustomElement

Inherits:
Object
  • Object
show all
Defined in:
lib/kramdown/custom_element.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#idObject (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