Module: Cliptic::Chars

Included in:
Database::State, Windows::Window
Defined in:
lib/cliptic/lib.rb

Constant Summary collapse

HL =
"\u2501"
LL =
"\u2517"
LU =
"\u250F"
RL =
"\u251B"
RU =
"\u2513"
TD =
"\u2533"
TL =
"\u252B"
TR =
"\u2523"
TU =
"\u253B"
VL =
"\u2503"
XX =
"\u254B"
Tick =
"\u2713"
Nums =
["\u2080", "\u2081", "\u2082", "\u2083",
"\u2084", "\u2085", "\u2086", "\u2087", 
"\u2088", "\u2089"]
MS =
"\u2588"
LS =
"\u258C"
RS =
"\u2590"
Block =
RS+MS+LS

Class Method Summary collapse

Class Method Details

.small_num(n) ⇒ Object



46
47
48
# File 'lib/cliptic/lib.rb', line 46

def self.small_num(n)
  n.to_s.chars.map{|n| Nums[n.to_i]}.join
end