Class: EimXML::XHTML::Simple_
- 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
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_.
29 30 31 |
# File 'lib/eim_xml/xhtml.rb', line 29 def initialize(attributes={}) super(self.class.name[/.*::(.*)/, 1].downcase.to_sym, attributes) end |