class AdequateSerialization::Serializer::ClassNotFoundError
Public Class Methods
new(serializer, serializes)
click to toggle source
Calls superclass method
AdequateSerialization::Error::new
# File lib/adequate_serialization/serializer.rb, line 6 def initialize(serializer, serializes) super(<<~MSG) AdequateSerialization was unable to find the associated class to serialize for #{serializer}. It expected to find a class named #{serializes}. This could mean that it was incorrectly named, or that you have yet to create the class that it will serialize. MSG end