Method: RDoc::Generator::Shomen#collect_methods
- Defined in:
- lib/shomen/rdoc.rb
#collect_methods(class_module, singleton = false) ⇒ Object (protected)
458 459 460 461 462 463 464 465 |
# File 'lib/shomen/rdoc.rb', line 458 def collect_methods(class_module, singleton=false) list = [] class_module.method_list.each do |m| next if singleton ^ m.singleton list << method_name(m) end list.uniq end |