Sha256: cfb26dd4e52699513002fec98c5de6f0d195215549807fa6b0a6d850b4988082
Contents?: true
Size: 605 Bytes
Versions: 5
Compression:
Stored size: 605 Bytes
Contents
module YARD module Server module Commands # List Features powers the features menu option in `yard server` class ListFeaturesCommand < ListCommand def type; :features end def items Registry.load_all run_verifier(Registry.all(:feature)) end end # List Tags powers the tags menu option in `yard server` class ListTagsCommand < ListCommand def type; :tags end def items Registry.load_all run_verifier(Registry.all(:tag).sort_by {|t| t.value.to_s }) end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems