Class: EimXML::XHTML::Simple

Inherits:
Base show all
Defined in:
lib/eim_xml/xhtml.rb

Direct Known Subclasses

BODY, BR, DIV, DL, FORM, HEAD, HR, IMG, LINK, META, OL, OPTION, SELECT, TABLE, TITLE, TR, UL

Constant Summary

Constants inherited from Element

Element::NEST

Instance Attribute Summary

Attributes inherited from Element

#attributes, #contents, #name

Instance Method Summary collapse

Methods inherited from Element

#==, #[], #add, #add_attribute, #del_attribute, #find, #has?, #match, #name_and_attributes, #pcstring_contents, #write_to

Constructor Details

#initialize(attributes = {}) ⇒ Simple

Returns a new instance of Simple.



32
33
34
# File 'lib/eim_xml/xhtml.rb', line 32

def initialize(attributes = {})
  super(self.class.name[/.*::(.*)/, 1].downcase.to_sym, attributes)
end