File: setup.rb

package info (click to toggle)
yard 0.9.37-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, trixie
  • size: 5,720 kB
  • sloc: ruby: 31,354; javascript: 7,608; makefile: 21
file content (12 lines) | stat: -rw-r--r-- 255 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true
include T('default/module/text')

def init
  super
  sections.place(:subclasses).before(:children)
  sections.delete(:children)
end

def format_object_title(object)
  "Class: #{object.title} < #{object.superclass.title}"
end