diff options
Diffstat (limited to 'lib/rdoc/markup/table.rb')
-rw-r--r-- | lib/rdoc/markup/table.rb | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/rdoc/markup/table.rb b/lib/rdoc/markup/table.rb index 7bcb10aff3..9ab1dc8ec9 100644 --- a/lib/rdoc/markup/table.rb +++ b/lib/rdoc/markup/table.rb @@ -3,8 +3,16 @@ # A section of table class RDoc::Markup::Table - attr_accessor :header, :align, :body + # headers of each column + attr_accessor :header + # alignments of each column + attr_accessor :align + + # body texts of each column + attr_accessor :body + + # Creates new instance def initialize header, align, body @header, @align, @body = header, align, body end |