git-svn-id: file:///home/svn/incoming/trunk@2859 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Spoon M 2005-09-20 19:06:38 +00:00
parent c8c3b988eb
commit ff02b7a461
1 changed files with 6 additions and 0 deletions

View File

@ -113,6 +113,12 @@ class CStruct < SStruct
name = ress.shift name = ress.shift
res = ress.shift res = ress.shift
self[name].restraint = res self[name].restraint = res
# update the restrainted object, so it will update the value
# of the restrainter, with the initial size. If you don't
# want this behavior, um, you'll have to be careful with what
# you supply as default values...
self[name].update_restraint
end end
return self return self
end end