Class: Proscenium::ViewComponent
- Extended by:
- ActiveSupport::Autoload
- Includes:
- SourcePath, CssModules
- Defined in:
- lib/proscenium/view_component.rb
Direct Known Subclasses
Defined Under Namespace
Modules: CssModules, Sideload Classes: ReactComponent
Class Attribute Summary collapse
-
.abstract_class ⇒ Object
Returns the value of attribute abstract_class.
Class Method Summary collapse
Methods included from CssModules
Methods included from CssModule
Methods included from SourcePath
Class Attribute Details
.abstract_class ⇒ Object
Returns the value of attribute abstract_class.
26 27 28 |
# File 'lib/proscenium/view_component.rb', line 26 def abstract_class @abstract_class end |
Class Method Details
.inherited(child) ⇒ Object
28 29 30 31 32 |
# File 'lib/proscenium/view_component.rb', line 28 def inherited(child) child.prepend Sideload super end |
.sideload_assets(value) ⇒ Object
34 35 36 |
# File 'lib/proscenium/view_component.rb', line 34 def sideload_assets(value) self. = value end |