class HTML::Table::Content
The Table::Content
class handles content for Table::Row::Data
, Table::Row::Header
, and Table::Row::Caption objects.
Public Class Methods
new(string, &block)
click to toggle source
Calls superclass method
# File lib/html/content.rb, line 10 def initialize(string, &block) super(string) instance_eval(&block) if block_given? end