[Cuis-dev] initializing a class in a package

Mark Volkmann r.mark.volkmann at gmail.com
Wed Jan 1 18:22:11 PST 2025


I came up with a solution. I added a class to my package whose only purpose
is to call that initialize method from its own initialize class method.
That works.

On Wed, Jan 1, 2025 at 8:08 PM Mark Volkmann <r.mark.volkmann at gmail.com>
wrote:

> If I understand correctly, that should happen automatically, right?
>
> I think the reason it isn't happening in my case is that in my package I
> added an initialize class method to a class in the base image (perhaps
> not a good idea), and I want that method to be called when my package is
> installed.
>
> On Wed, Jan 1, 2025 at 7:41 PM Mark Volkmann <r.mark.volkmann at gmail.com>
> wrote:
>
>> I created a package where one of its classes defines the class method
>> initialize (not an instance method). What do I need to do in my package
>> so that initialize method is called when my package is installed with Feature
>> require 'MyPackage' ?
>>
>> --
>> R. Mark Volkmann
>> Object Computing, Inc.
>>
>
>
> --
> R. Mark Volkmann
> Object Computing, Inc.
>


-- 
R. Mark Volkmann
Object Computing, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20250101/b7fecc8d/attachment.htm>


More information about the Cuis-dev mailing list