class Argyle::View::Base

Public Class Methods

new(style_container) click to toggle source

@param style_container [Argyle::StyleSheet::Container]

# File lib/argyle/view/base.rb, line 4
def initialize(style_container)
  @style_container = style_container
end

Public Instance Methods

render(_window, _component) click to toggle source

@param window [Ncurses::WINDOW] @param component [Argyle::Component::Base]

# File lib/argyle/view/base.rb, line 11
def render(_window, _component)
  raise NotImplementedError.new("render method must be implemented in #{self.class}")
end