Class: Signum::NotificationDrawer::Component
- Inherits:
-
ViewComponent::Base
- Object
- ViewComponent::Base
- Signum::NotificationDrawer::Component
- Defined in:
- app/components/signum/notification_drawer/component.rb
Instance Attribute Summary collapse
-
#signals ⇒ Object
readonly
Returns the value of attribute signals.
Instance Method Summary collapse
-
#initialize(signals) ⇒ Component
constructor
A new instance of Component.
Constructor Details
#initialize(signals) ⇒ Component
Returns a new instance of Component.
6 7 8 |
# File 'app/components/signum/notification_drawer/component.rb', line 6 def initialize(signals) @signals = signals end |
Instance Attribute Details
#signals ⇒ Object (readonly)
Returns the value of attribute signals.
4 5 6 |
# File 'app/components/signum/notification_drawer/component.rb', line 4 def signals @signals end |