Sha256: 01ab1b9a88a5bb8c96ae808d0fcab60d05e9eafc7cfd992bb473633e75f7b5aa
Contents?: true
Size: 673 Bytes
Versions: 30
Compression:
Stored size: 673 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
30 entries across 30 versions & 4 rubygems