Method: Primer::OpenProject::Heading#initialize
- Defined in:
- app/components/primer/open_project/heading.rb
#initialize(**system_arguments) ⇒ Heading
Returns a new instance of Heading.
12 13 14 15 16 17 18 |
# File 'app/components/primer/open_project/heading.rb', line 12 def initialize(**system_arguments) @system_arguments = system_arguments # Override because of Primer::OpenProject::PageHeader which should be the # most prominent element in the hierarchical structure @system_arguments[:font_weight] ||= :normal end |