Method: YARD::CLI::Stats#stats_for_methods
- Defined in:
- lib/yard/cli/stats.rb
#stats_for_methods ⇒ Object
Statistics for methods
144 145 146 147 148 149 150 151 |
# File 'lib/yard/cli/stats.rb', line 144 def stats_for_methods objs = all_objects.select {|m| m.type == :method } objs.reject!(&:is_alias?) objs.reject!(&:is_attribute?) undoc = objs.select {|m| m.docstring.blank? } @undoc_list |= undoc if @undoc_list output "Methods", objs.size, undoc.size end |