Class: Chamomile::Layout::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/chamomile/layout/base.rb

Direct Known Subclasses

Horizontal, List, Panel, Raw, Spinner, StatusBar, Table, Text, Vertical

Instance Method Summary collapse

Instance Method Details

#render(width:, height:) ⇒ Object

Raises:

  • (NotImplementedError)


6
7
8
# File 'lib/chamomile/layout/base.rb', line 6

def render(width:, height:)
  raise NotImplementedError, "#{self.class} must implement render(width:, height:)"
end