Module: Ruby::Tags::Html
- Defined in:
- lib/ruby/tags/html.rb
Instance Method Summary collapse
- #attr(attributes = {}) ⇒ Object
- #group(*tags) ⇒ Object
- #html5(*renderable) ⇒ Object
- #text(string) ⇒ Object
Instance Method Details
#attr(attributes = {}) ⇒ Object
9 10 11 |
# File 'lib/ruby/tags/html.rb', line 9 def attr(attributes = {}) Attribute.new attributes end |
#group(*tags) ⇒ Object
17 18 19 |
# File 'lib/ruby/tags/html.rb', line 17 def group(*) Group.new * end |