Class: Cliptic::Main::Windows::Top_Bar

Inherits:
Interface::Top_Bar show all
Defined in:
lib/cliptic/main.rb

Constant Summary

Constants included from Chars

Chars::Block, Chars::HL, Chars::LL, Chars::LS, Chars::LU, Chars::MS, Chars::Nums, Chars::RL, Chars::RS, Chars::RU, Chars::TD, Chars::TL, Chars::TR, Chars::TU, Chars::Tick, Chars::VL, Chars::XX

Instance Attribute Summary

Attributes inherited from Interface::Top_Bar

#date

Attributes inherited from Windows::Bar

#bg_col

Attributes inherited from Windows::Window

#centered_x, #centered_y, #col, #line, #x, #y

Instance Method Summary collapse

Methods inherited from Interface::Top_Bar

#draw, #reset_pos, #title

Methods inherited from Windows::Bar

#add_str, #draw, #time_str

Methods inherited from Windows::Window

#add_str, #bold, #clear, #color, #draw, #move, #refresh, #reset_attrs, #reset_pos, #setpos, #standend, #standout, #time_str, #wrap_str

Methods included from Chars

small_num

Constructor Details

#initialize(date: Date.today) ⇒ Top_Bar

Returns a new instance of Top_Bar.



5
6
7
# File 'lib/cliptic/main.rb', line 5

def initialize(date:Date.today)
  super(date:date)
end