diff options
author | Jochen Topf <jochen@topf.org> | 2010-11-10 08:12:18 +0100 |
---|---|---|
committer | Jochen Topf <jochen@topf.org> | 2010-11-10 08:12:18 +0100 |
commit | c44b109b1740cd9e58bd8d0640391e2435ebfdea (patch) | |
tree | c61575af9e0cf86be338e2d92c8d55d799172423 /web/lib/reports.rb | |
parent | 5b2e986a24e4d51c3103b257516cff758d087cbf (diff) | |
download | taginfo-c44b109b1740cd9e58bd8d0640391e2435ebfdea.tar taginfo-c44b109b1740cd9e58bd8d0640391e2435ebfdea.tar.gz |
Cleanup
Diffstat (limited to 'web/lib/reports.rb')
-rw-r--r-- | web/lib/reports.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/lib/reports.rb b/web/lib/reports.rb index f3f363c..3412a8b 100644 --- a/web/lib/reports.rb +++ b/web/lib/reports.rb @@ -5,7 +5,7 @@ attr_reader :title, :sources def self.reports - @@reports.sort{ |a,b| a.title <=> b.title } + @@reports.sort_by{ |report| report.title } end def initialize(title, sources) |