Class: MethodLister::SimpleDisplay
- Inherits:
-
Object
- Object
- MethodLister::SimpleDisplay
- Defined in:
- lib/method_lister/simple_display.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#display(findings, show_public_only = false) ⇒ Object
3 4 5 6 7 8 9 10 11 12 13 |
# File 'lib/method_lister/simple_display.rb', line 3 def display(findings, show_public_only=false) findings.reverse.each do |result| list = method_list(result, show_public_only) if !list.empty? puts header(result) puts list puts seperator(result) end end nil end |