Class: Fakettp::Error
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Fakettp::Error
- Defined in:
- lib/fakettp/error.rb
Class Method Summary collapse
Class Method Details
.list ⇒ Object
5 6 7 8 9 |
# File 'lib/fakettp/error.rb', line 5 def self.list errors = Error.all return '' if errors.empty? errors.map {|e| e.}.join("\n") + "\n" end |