Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add :width to Style.defaults, so it appears in Style.defaults.keys

  • Loading branch information...
commit 07256b1290b1770f5d98970394bf39c5951285e4 1 parent 4165427
@rrrene rrrene authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  lib/terminal-table/style.rb
View
3  lib/terminal-table/style.rb
@@ -25,7 +25,8 @@ class Table
class Style
@@defaults = {
:border_x => "-", :border_y => "|", :border_i => "+",
- :padding_left => 1, :padding_right => 1
+ :padding_left => 1, :padding_right => 1,
+ :width => nil
}
attr_accessor :border_x
Please sign in to comment.
Something went wrong with that request. Please try again.