Class: Pacman::Layouts::ApplicationLayout

Inherits:
Charming::View
  • Object
show all
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

#renderObject



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

    overlay command_palette_modal if command_palette_modal
  end
end