Class: ActionLink::ApplicationComponent

Inherits:
ViewComponent::Base
  • Object
show all
Extended by:
Dry::Initializer
Defined in:
app/components/action_link/application_component.rb

Overview

A component that every other component inherits from in this gem. It adds convenience methods for initialization of a component.

Direct Known Subclasses

Base

Instance Method Summary collapse

Constructor Details

#initializeApplicationComponent

By default, Dry::Initializer doesn’t complain about invalid arguments. We want it to raise an error.



11
12
13
14
# File 'app/components/action_link/application_component.rb', line 11

def initialize(...)
  __check_for_unknown_options(...)
  super
end