Method: Puppet::Util::Reference.page
- Defined in:
- lib/puppet/util/reference.rb
.page(*sections) ⇒ Object
31 32 33 34 35 36 37 38 |
# File 'lib/puppet/util/reference.rb', line 31 def self.page(*sections) depth = 4 # Use the minimum depth sections.each do |name| section = reference(name) or raise _("Could not find section %{name}") % { name: name } depth = section.depth if section.depth < depth end end |