Class: Avo::AssetManager::StylesheetComponent
- Inherits:
-
ViewComponent::Base
- Object
- ViewComponent::Base
- Avo::AssetManager::StylesheetComponent
- Defined in:
- app/components/avo/asset_manager/stylesheet_component.rb
Instance Attribute Summary collapse
-
#asset_manager ⇒ Object
readonly
Returns the value of attribute asset_manager.
Instance Method Summary collapse
-
#initialize(asset_manager:) ⇒ StylesheetComponent
constructor
A new instance of StylesheetComponent.
- #stylesheets ⇒ Object
Constructor Details
#initialize(asset_manager:) ⇒ StylesheetComponent
Returns a new instance of StylesheetComponent.
6 7 8 |
# File 'app/components/avo/asset_manager/stylesheet_component.rb', line 6 def initialize(asset_manager:) @asset_manager = asset_manager end |
Instance Attribute Details
#asset_manager ⇒ Object (readonly)
Returns the value of attribute asset_manager.
4 5 6 |
# File 'app/components/avo/asset_manager/stylesheet_component.rb', line 4 def asset_manager @asset_manager end |
Instance Method Details
#stylesheets ⇒ Object
10 11 12 |
# File 'app/components/avo/asset_manager/stylesheet_component.rb', line 10 def stylesheets asset_manager.stylesheets end |