class EVOLICITY_SERIALIZEABLE_AS_STRING_GENERAL
Object that is serializeable to string of type like once_medium.text
note
description: "Object that is serializeable to string of type `like once_medium.text'"
author: "Finnian Reilly"
copyright: "Copyright (c) 2001-2022 Finnian Reilly"
contact: "finnian at eiffel hyphen loop dot com"
license: "MIT license (See: en.wikipedia.org/wiki/MIT_License)"
date: "2022-11-15 19:56:07 GMT (Tuesday 15th November 2022)"
revision: "3"
deferred class
EVOLICITY_SERIALIZEABLE_AS_STRING_GENERAL
inherit
EVOLICITY_SERIALIZEABLE
feature -- Access
as_text: like once_medium.text
local
medium: like once_medium
do
medium := once_medium
medium.open_write
Evolicity_templates.merge (template_name, Current, medium)
Result := medium.text
medium.close
end
feature {NONE} -- Implementation
once_medium: EL_STRING_IO_MEDIUM
-- implement as once function
deferred
end
end