let spce keep the messages in a factory #14

Like Integers and addresses before, messages are now in a factory
Factories keep allocated (uninitialised) objects, had to make init public to call it
This commit is contained in:
Torsten Ruger
2018-09-01 11:24:16 +03:00
parent 0a390cc5a9
commit d964e9ea9d
10 changed files with 39 additions and 35 deletions

View File

@ -27,12 +27,12 @@ module Parfait
16
end
def initialize( next_m )
def initialize( )
super()
self.next_message = next_m
self.frame = NamedList.new()
self.arguments = NamedList.new()
end
public :initialize
def set_receiver(rec)
self.receiver = rec