# frozen_string_literal: true module AdequateSerialization class Error < StandardError def initialize(message) super(message.gsub("\n", ' ')) end end end require 'adequate_serialization/attribute' require 'adequate_serialization/decorator' require 'adequate_serialization/inline_serializer' require 'adequate_serialization/options' require 'adequate_serialization/serializable' require 'adequate_serialization/serializer' require 'adequate_serialization/steps' require 'adequate_serialization/version' require 'adequate_serialization/steps/step' require 'adequate_serialization/steps/serialize_step' if defined?(Rails) require 'adequate_serialization/rails/cache_busting' require 'adequate_serialization/rails/cache_step' require 'adequate_serialization/rails/cache_visualization' require 'adequate_serialization/rails/relation_serializer' module AdequateSerialization Serializer.singleton_class.prepend(CacheBusting) ActiveRecord::Base.include(Serializable) end end