class ActiveModel::BetterErrors::Reporter

Reporter

Attributes

collection[R]

Public Class Methods

new(collection) click to toggle source
# File lib/active_model/better_errors/reporter.rb, line 10
def initialize(collection)
  @collection = collection
end

Public Instance Methods

base() click to toggle source
# File lib/active_model/better_errors/reporter.rb, line 14
def base
  @collection.base
end