Exception: Ranker::Rankings::Error
- Defined in:
- lib/ranker/rankings.rb
Overview
Inner classes:
Instance Method Summary collapse
-
#initialize(errors) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(errors) ⇒ Error
Returns a new instance of Error.
92 93 94 95 96 97 98 |
# File 'lib/ranker/rankings.rb', line 92 def initialize(errors) = 'Rankings has errors: ' << errors.map { |name, error| "#{name} #{error}" }.join(', ') super() end |