Class: Nazar::VerticalTable

Inherits:
BaseTable show all
Defined in:
lib/nazar/vertical_table.rb

Instance Method Summary collapse

Methods inherited from BaseTable

#add_summary, #initialize

Constructor Details

This class inherits a constructor from Nazar::BaseTable

Instance Method Details

#renderObject



25
26
27
28
29
30
# File 'lib/nazar/vertical_table.rb', line 25

def render
  table.render_with(VerticalBorder, options) do |renderer|
    renderer.border.style = :green if Nazar.config.colors.enabled
    renderer.border.separator = separators_around_each_item
  end
end