Class: Pacman::Layouts::ApplicationLayout
- Inherits:
-
Charming::View
- Object
- Charming::View
- Pacman::Layouts::ApplicationLayout
- Defined in:
- app/views/layouts/application_layout.rb
Overview
Full-bleed layout: the game owns the whole terminal. No sidebar, no borders — just the screen content with the command palette overlaid.
Instance Method Summary collapse
Instance Method Details
#render ⇒ Object
8 9 10 11 12 13 14 15 16 |
# File 'app/views/layouts/application_layout.rb', line 8 def render screen_layout(background: theme.background) do pane(:content, grow: 1) do yield_content end command_palette_modal if command_palette_modal end end |