mirror of
https://github.com/gosticks/brew.git
synced 2026-08-13 05:00:20 +00:00
15 lines
249 B
Ruby
15 lines
249 B
Ruby
# typed: false
|
|
# frozen_string_literal: true
|
|
|
|
def init
|
|
super
|
|
|
|
return if sections.empty?
|
|
|
|
sections[:index].place(:internal).before(:private)
|
|
end
|
|
|
|
def internal
|
|
erb(:internal) if object.has_tag?(:api) && object.tag(:api).text == "internal"
|
|
end
|