File: setup.rb

package info (click to toggle)
ruby-enumerable-statistics 2.0.1%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,036 kB
  • sloc: ansic: 1,808; ruby: 679; makefile: 11; sh: 4
file content (10 lines) | stat: -rwxr-xr-x 189 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
def init
  super
  sections.last.pop
end

def format_object_title(object)
  title = "Method: #{object.name(true)}"
  title += " (#{object.namespace})" if !object.namespace.root?
  title
end