Method: Primer::Beta::Heading#initialize
- Defined in:
- app/components/primer/beta/heading.rb
#initialize(tag:, **system_arguments) ⇒ Heading
Returns a new instance of Heading.
28 29 30 31 |
# File 'app/components/primer/beta/heading.rb', line 28 def initialize(tag:, **system_arguments) @system_arguments = system_arguments @system_arguments[:tag] = fetch_or_fallback(TAG_OPTIONS, tag, TAG_FALLBACK) end |