Class: RepoParser::Sorter

Inherits:
Object
  • Object
show all
Defined in:
lib/repo_parser.rb

Overview

Sorter sorts repos by owner

Class Method Summary collapse

Class Method Details

.call(repos) ⇒ Object



92
93
94
# File 'lib/repo_parser.rb', line 92

def self.call(repos)
  repos.sort_by(&:owner)
end