Class: ActiveModel::BetterErrors::ArrayReporter

Inherits:
Reporter
  • Object
show all
Defined in:
lib/active_model/better_errors/array_reporter.rb

Overview

ArrayReporter

Direct Known Subclasses

HumanArrayReporter, MachineArrayReporter

Instance Attribute Summary

Attributes inherited from Reporter

#collection

Instance Method Summary collapse

Methods inherited from Reporter

#base, #initialize

Constructor Details

This class inherits a constructor from ActiveModel::BetterErrors::Reporter

Instance Method Details

#to_aObject



9
10
11
# File 'lib/active_model/better_errors/array_reporter.rb', line 9

def to_a
  fail 'abstract method'
end