Method: Primer::OpenProject::SidePanel::Section#initialize

Defined in:
app/components/primer/open_project/side_panel/section.rb

#initialize(tag: DEFAULT_TAG, **system_arguments) ⇒ Section

Returns a new instance of Section.

[View source]

65
66
67
68
# File 'app/components/primer/open_project/side_panel/section.rb', line 65

def initialize(tag: DEFAULT_TAG, **system_arguments)
  @system_arguments = system_arguments
  @system_arguments[:tag] = fetch_or_fallback(TAG_OPTIONS, tag, DEFAULT_TAG)
end