Class: EimXML::XHTML::Simple
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
Instance Attribute Summary
Attributes inherited from Element
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ Simple
constructor
A new instance of Simple.
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 |