Class: Argyle::View::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/argyle/view/base.rb

Direct Known Subclasses

Text

Instance Method Summary collapse

Constructor Details

#initialize(style_container) ⇒ Base

Returns a new instance of Base.

Parameters:



4
5
6
# File 'lib/argyle/view/base.rb', line 4

def initialize(style_container)
  @style_container = style_container
end

Instance Method Details

#render(_window, _component) ⇒ Object

Parameters:

Raises:

  • (NotImplementedError)


11
12
13
# File 'lib/argyle/view/base.rb', line 11

def render(_window, _component)
  raise NotImplementedError.new("render method must be implemented in #{self.class}")
end