Sha256: 685eee3598daff71e9efe65631da3b17f1f1f22aeeba5e891c85c7b11f525b2f
Contents?: true
Size: 677 Bytes
Versions: 30
Compression:
Stored size: 677 Bytes
Contents
module YARD module CLI # Lists all constant and method names in the codebase. Uses {Yardoc} --list. class List < Command def description; 'Lists all constant and methods. Uses `yard doc --list`' end # Runs the commandline utility, parsing arguments and displaying a # list of objects # # @param [Array<String>] args the list of arguments. # @return [void] def run(*args) if args.include?('--help') puts "Usage: yard list [yardoc_options]" puts "Takes the same arguments as yardoc. See yardoc --help" else Yardoc.run('--list', *args) end end end end end
Version data entries
30 entries across 30 versions & 4 rubygems