herm
git-svn-id: file:///home/svn/incoming/trunk@2859 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
c8c3b988eb
commit
ff02b7a461
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue