Class: Signum::NotificationDrawerItem::Component
- Inherits:
-
ViewComponent::Base
- Object
- ViewComponent::Base
- Signum::NotificationDrawerItem::Component
- Defined in:
- app/components/signum/notification_drawer_item/component.rb
Instance Method Summary collapse
-
#initialize(signal) ⇒ Component
constructor
A new instance of Component.
Constructor Details
#initialize(signal) ⇒ Component
Returns a new instance of Component.
4 5 6 |
# File 'app/components/signum/notification_drawer_item/component.rb', line 4 def initialize(signal) @signal = signal end |