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_.



29
30
31
# File 'lib/eim_xml/xhtml.rb', line 29

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