Class: Polaris::TopBar::UserMenuComponent
- Inherits:
-
Component
- Object
- Component
- Polaris::TopBar::UserMenuComponent
- Defined in:
- app/components/polaris/top_bar/user_menu_component.rb
Instance Method Summary collapse
-
#initialize(name:, detail: nil, show_avatar_first: false, **system_arguments) ⇒ UserMenuComponent
constructor
A new instance of UserMenuComponent.
Constructor Details
#initialize(name:, detail: nil, show_avatar_first: false, **system_arguments) ⇒ UserMenuComponent
Returns a new instance of UserMenuComponent.
4 5 6 7 8 9 |
# File 'app/components/polaris/top_bar/user_menu_component.rb', line 4 def initialize(name:, detail: nil, show_avatar_first: false, **system_arguments) @name = name @detail = detail @show_avatar_first = show_avatar_first @system_arguments = system_arguments end |