Method: Primer::Beta::Breadcrumbs#initialize
- Defined in:
- app/components/primer/beta/breadcrumbs.rb
permalink #initialize(**system_arguments) ⇒ Breadcrumbs
Returns a new instance of Breadcrumbs.
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 |