# frozen_string_literal: true
class NotLoaded
class NotLoadedError < StandardError; end
def initialize(name)
@name = name
end
def respond_to_missing?(*)
true
end
def method_missing(*) # rubocop:disable Style/MethodMissing
raise NotLoadedError, "#{@name} not loaded"
end
end