class Coercive::Error
Public: An error raised when a coercion cannot produce a suitable result.
Attributes
errors[RW]
Public: The error or errors encountered in coercing the input.
Public Class Methods
new(errors)
click to toggle source
Calls superclass method
# File lib/coercive.rb, line 12 def initialize(errors) @errors = errors super(errors.inspect) end