lib/tty/table/border_dsl.rb in tty-0.0.9 vs lib/tty/table/border_dsl.rb in tty-0.0.10

- old
+ new

@@ -20,10 +20,10 @@ # # @api private def initialize(characters=nil, &block) @options = TTY::Table::BorderOptions.new @options.characters = characters if characters - yield_or_eval &block if block_given? + yield_or_eval(&block) if block_given? end # Apply style color to the border # # @param [Symbol] style