class Mutations::ValidationException
Public Instance Methods
inspect()
click to toggle source
# File lib/mutations_validate_outcome.rb, line 54 def inspect # rubocop:disable Style/FormatString oid = '%x' % (object_id << 1) "#<Mutations::ValidationException:0x#{oid.rjust(14, '0')} @errors=<#{errors}>>" # rubocop:enable Style/FormatString end
message()
click to toggle source
# File lib/mutations_validate_outcome.rb, line 61 def message errors.map do |k, v| "#{k}: “#{v.message || v.symbol}”" end.join(', ') end