# File lib/yard/generators/uml_generator.rb, line 69 def method_list(object, attributes = false) vissort = lambda {|vis| vis == :public ? 'a' : (vis == :protected ? 'b' : 'c') } meths = object.meths(:inherited => false, :included => false, :visibility => options[:visibility]) meths = remove_overriden_meths(object, meths) meths = meths.select {|o| attributes ? o.is_attribute? : !o.is_attribute? } meths = meths.reject {|o| o.is_alias? } meths = meths.sort_by {|o| "#{o.scope}#{vissort.call(o.visibility)}#{o.name}" } end