Class: FlexiAdmin::Components::Shared::AlertComponent
- Inherits:
-
BaseComponent
- Object
- ViewComponent::Base
- BaseComponent
- FlexiAdmin::Components::Shared::AlertComponent
- Defined in:
- lib/flexi_admin/components/shared/alert_component.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(message:) ⇒ AlertComponent
constructor
A new instance of AlertComponent.
Constructor Details
#initialize(message:) ⇒ AlertComponent
Returns a new instance of AlertComponent.
7 8 9 |
# File 'lib/flexi_admin/components/shared/alert_component.rb', line 7 def initialize(message:) @message = end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
5 6 7 |
# File 'lib/flexi_admin/components/shared/alert_component.rb', line 5 def @message end |