Method: Primer::Beta::Breadcrumbs#initialize

Defined in:
app/components/primer/beta/breadcrumbs.rb

#initialize(**system_arguments) ⇒ Breadcrumbs

Returns a new instance of Breadcrumbs.

Parameters:

  • system_arguments (Hash)

    <%= link_to_system_arguments_docs %>

[View source]

35
36
37
38
39
40
# File 'app/components/primer/beta/breadcrumbs.rb', line 35

def initialize(**system_arguments)
  @system_arguments = deny_tag_argument(**system_arguments)
  @system_arguments[:tag] = :nav
  @system_arguments[:aria] = ARIA_LABEL
  @system_arguments[:system_arguments_denylist] = ARGS_DENYLIST
end