Class: Huml::Atom
- Inherits:
-
Treetop::Runtime::SyntaxNode
- Object
- Treetop::Runtime::SyntaxNode
- Huml::Atom
- Defined in:
- lib/huml.rb
Instance Method Summary collapse
Instance Method Details
#tokenize ⇒ Object
47 48 49 50 |
# File 'lib/huml.rb', line 47 def tokenize [:html, :tag, name.text_value.to_sym, [:html, :attrs].concat(selector_list.tokenize).concat(attributes.empty? ? [] : attributes.tokenize)] end |