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