Class: SolidusAdmin::UI::Modal::Component
- Inherits:
-
BaseComponent
- Object
- BaseComponent
- SolidusAdmin::UI::Modal::Component
- Defined in:
- app/components/solidus_admin/ui/modal/component.rb
Instance Method Summary collapse
-
#initialize(title:, close_path: nil, open: false, **attributes) ⇒ Component
constructor
A new instance of Component.
Constructor Details
#initialize(title:, close_path: nil, open: false, **attributes) ⇒ Component
Returns a new instance of Component.
6 7 8 9 10 11 |
# File 'app/components/solidus_admin/ui/modal/component.rb', line 6 def initialize(title:, close_path: nil, open: false, **attributes) @title = title @close_path = close_path @attributes = attributes @attributes[:open] = open end |