Class: HTML::Table::Content
- Inherits:
-
String
- Object
- String
- HTML::Table::Content
- Includes:
- TagHandler
- Defined in:
- lib/html/content.rb
Instance Method Summary collapse
-
#initialize(string, &block) ⇒ Content
constructor
A new instance of Content.
Methods included from TagHandler
#big, #big=, #blink, #blink=, #bold, #bold=, #italic, #italic=, #strike, #strike=, #sub, #sub=, #sup, #sup=, #tt, #tt=, #underline, #underline=
Constructor Details
#initialize(string, &block) ⇒ Content
Returns a new instance of Content.
13 14 15 16 |
# File 'lib/html/content.rb', line 13 def initialize(string, &block) super(string) instance_eval(&block) if block_given? end |