class Otoroshi::Collection::AssertError

Manages errors raised when value does not pass the assertion

Public Class Methods

new(property) click to toggle source

@param property [Symbol] name of the property @example

":numbers contains elements that do not respect the assertion"
Calls superclass method
# File lib/otoroshi/exceptions.rb, line 84
def initialize(property)
  super ":#{property} contains elements that do not respect the assertion"
end