Class: Terminal::Table::Heading

Inherits:
Cell show all
Defined in:
lib/terminal-table/heading.rb

Instance Attribute Summary

Attributes inherited from Cell

#alignment, #colspan, #value, #width

Instance Method Summary collapse

Methods inherited from Cell

#length, #render

Constructor Details

#initialize(width, params) ⇒ Heading

Returns a new instance of Heading.



5
6
7
# File 'lib/terminal-table/heading.rb', line 5

def initialize width, params
  super
end