lib/tty/table/renderer.rb in tty-0.0.6 vs lib/tty/table/renderer.rb in tty-0.0.7

- old
+ new

@@ -78,9 +78,16 @@ # @api private def renderer=(renderer) @renderer = renderer end + # Add custom border for the renderer + # + # @api public + def renders_with(klass) + @border_class = klass + end + delegatable_method :renderer, *RENDERER_DELEGATED_METHODS end # Renderer end # Table