Class: Bemer::Component
- Inherits:
-
Object
- Object
- Bemer::Component
- Defined in:
- lib/bemer/component.rb
Instance Method Summary collapse
-
#initialize(view) ⇒ Component
constructor
A new instance of Component.
- #render(**options, &block) ⇒ Object
Constructor Details
#initialize(view) ⇒ Component
Returns a new instance of Component.
5 6 7 |
# File 'lib/bemer/component.rb', line 5 def initialize(view) @template_catalog = view.instance_variable_get(:@bemer_template_catalog) end |