xobj returns

This commit is contained in:
p.kosyh 2010-06-27 06:01:36 +00:00
parent 740f97e8a2
commit 0ea49d861d

View file

@ -65,3 +65,10 @@ stead.fmt = stead.hook(stead.fmt, function(f, ...)
end
return r;
end)
xobj = stead.inherit(obj, function(v)
v.xref = function(s, str)
return str
end
return v
end)