Class: Cliptic::Menus::Recent_Puzzles

Inherits:
Interface::SQL_Menu_With_Stats show all
Defined in:
lib/cliptic/menus.rb

Constant Summary

Constants included from Database

Database::Dir_Path, Database::File_Path

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::SQL_Menu_With_Stats

#dates

Attributes inherited from Interface::Menu_With_Stats

#stat_win

Attributes inherited from Interface::Menu

#height, #selector

Attributes inherited from Interface::Menu_Box

#bot_b, #draw_bars, #logo, #top_b

Attributes inherited from Windows::Window

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

Instance Method Summary collapse

Methods inherited from Interface::SQL_Menu_With_Stats

#opts, #stat_date

Methods inherited from Interface::Menu_With_Stats

#enter, #hide, #reset_pos, #update_stats

Methods inherited from Interface::Menu

#back, #choose_opt, #ctrls, #enter, #hide, #redraw, #reset_pos, #show

Methods inherited from Interface::Menu_Box

#add_title, #draw, #line, #reset_pos

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

#initializeRecent_Puzzles

Returns a new instance of Recent_Puzzles.



120
121
122
# File 'lib/cliptic/menus.rb', line 120

def initialize
  super(table:Database::Recents)
end

Instance Method Details

#titleObject



123
124
125
# File 'lib/cliptic/menus.rb', line 123

def title
  "Recently Played"
end