Class: Argyle::View::Base
- Inherits:
-
Object
- Object
- Argyle::View::Base
- Defined in:
- lib/argyle/view/base.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(style_container) ⇒ Base
constructor
A new instance of Base.
- #render(_window, _component) ⇒ Object
Constructor Details
#initialize(style_container) ⇒ Base
Returns a new instance of Base.
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
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 |