Class: Railsboot::PricingPanelComponent
- Inherits:
-
Component
- Object
- Component
- Railsboot::PricingPanelComponent
- Defined in:
- app/components/railsboot/pricing_panel_component.rb
Instance Method Summary collapse
-
#initialize(**html_attributes) ⇒ PricingPanelComponent
constructor
A new instance of PricingPanelComponent.
Constructor Details
#initialize(**html_attributes) ⇒ PricingPanelComponent
Returns a new instance of PricingPanelComponent.
15 16 17 18 19 20 21 22 |
# File 'app/components/railsboot/pricing_panel_component.rb', line 15 def initialize(**html_attributes) @html_attributes = html_attributes @html_attributes[:class] = class_names( "relative", html_attributes[:class] ) end |