sort import and mixins by name, and hide private mixins from the docs.

This commit is contained in:
Chris Eppstein 2010-04-25 19:02:18 -07:00
parent 458a19361d
commit ff0bc5450e

View File

@ -25,7 +25,7 @@ def imports(item)
imports << child.imported_filename
end
end
imports
imports.sort
end
def reference_item(options)
@ -114,7 +114,7 @@ def mixins(item)
comment = nil
end
end
mixins
mixins.reject{|m| m.comment =~ /@private/}.sort_by{|m| m.name}
end
def constants(item)