Class: HTML::Table::Content

Inherits:
String
  • Object
show all
Includes:
Mixin::TagHandler
Defined in:
lib/html/content.rb

Overview

The Table::Content class handles content for Table::Row::Data, Table::Row::Header, and Table::Row::Caption objects.

Instance Method Summary collapse

Methods included from Mixin::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



10
11
12
13
# File 'lib/html/content.rb', line 10

def initialize(string, &block)
  super(string)
  instance_eval(&block) if block_given?
end