Sha256: bdcae3581a54d7b79351facab013b75fbc492557905443eaafc7916f2992e000

Contents?: true

Size: 332 Bytes

Versions: 7

Compression:

Stored size: 332 Bytes

Contents

# Initializes the template.
# @return [void]
def init
  sections :header, :box_info, :summary, :overview, :note, :todo, T('tags'), :method_details_list, [T('method_details')], :source
end

def method_listing
  sort_listing(object.functions)
end

def sort_listing(list)
  list.sort_by {|o| [o.scope.to_s, o.name.to_s.downcase] }
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
puppet-strings-3.0.1 lib/puppet-strings/yard/templates/default/puppet_data_type/html/setup.rb
puppet-strings-3.0.0 lib/puppet-strings/yard/templates/default/puppet_data_type/html/setup.rb
puppet-strings-2.9.0 lib/puppet-strings/yard/templates/default/puppet_data_type/html/setup.rb
puppet-strings-2.8.0 lib/puppet-strings/yard/templates/default/puppet_data_type/html/setup.rb
puppet-strings-2.7.0 lib/puppet-strings/yard/templates/default/puppet_data_type/html/setup.rb
puppet-strings-2.6.0 lib/puppet-strings/yard/templates/default/puppet_data_type/html/setup.rb
puppet-strings-2.5.0 lib/puppet-strings/yard/templates/default/puppet_data_type/html/setup.rb