Class: Anchor::ActionMenuComponent

Inherits:
Component
  • Object
show all
Defined in:
app/components/anchor/action_menu_component.rb

Instance Method Summary collapse

Methods inherited from Component

generate_id

Methods included from ViewHelper

#text_prose

Methods included from FetchOrFallbackHelper

#fetch_or_fallback

Constructor Details

#initializeActionMenuComponent

Returns a new instance of ActionMenuComponent.



11
12
13
14
15
# File 'app/components/anchor/action_menu_component.rb', line 11

def initialize
  @menu_id = self.class.generate_id

  super
end