Method: Jschematic::ValidationError#initialize

Defined in:
lib/jschematic/exceptions.rb

#initialize(what, expected, actual) ⇒ ValidationError

Returns a new instance of ValidationError.



5
6
7
# File 'lib/jschematic/exceptions.rb', line 5

def initialize(what, expected, actual)
  @what, @expected, @actual = what, expected, actual
end