Module: Box
- Defined in:
- lib/consts.rb
Constant Summary collapse
- NORMAL =
Box["┌─┐└│┘"]
- THICK =
Box["┏━┓┗┃┛"]
- DOTTED =
Box["┌┄┐└┆┘"]
- DOUBLE =
Box["╔═╗╚║╝"]
Class Method Summary collapse
Class Method Details
.[](art) ⇒ Object
19 20 21 22 23 24 25 26 |
# File 'lib/consts.rb', line 19 def self.[](art) art = art.chars let **{ h: art[1], v: art[4], top: { left: art[0], right: art[2] }, bottom: { left: art[3], right: art[5] }, } end |