Class: ActiveModel::BetterErrors::HumanArrayReporter
- Inherits:
-
ArrayReporter
- Object
- Reporter
- ArrayReporter
- ActiveModel::BetterErrors::HumanArrayReporter
- Defined in:
- lib/active_model/better_errors/human_array_reporter.rb
Overview
HumanArrayReporter
Instance Attribute Summary
Attributes inherited from Reporter
Instance Method Summary collapse
Methods inherited from Reporter
Constructor Details
This class inherits a constructor from ActiveModel::BetterErrors::Reporter
Instance Method Details
#to_a ⇒ Object
9 10 11 |
# File 'lib/active_model/better_errors/human_array_reporter.rb', line 9 def to_a HumanMessageReporter.new(collection). end |