Class: HTML::List
- Inherits:
-
Object
- Object
- HTML::List
- Defined in:
- lib/html/list.rb
Instance Method Summary collapse
-
#initialize(tag, enum) ⇒ List
constructor
A new instance of List.
- #to_html ⇒ Object
Constructor Details
#initialize(tag, enum) ⇒ List
Returns a new instance of List.
6 7 8 9 |
# File 'lib/html/list.rb', line 6 def initialize(tag, enum) @tag = tag @enum = enum end |