T
Trans
class Class
alias :create :new
def new(*a,&b)
obj = allocate
obj.extend advice
obj.sendinitialize,*a,&b)
return obj
end
end
Note #advice is a sprcisl module that provides AOP features.
Like to get the opinions of other Ruby experts on this. What kind of
potential trouble am I asking for by using this?
Thanks,
T.
alias :create :new
def new(*a,&b)
obj = allocate
obj.extend advice
obj.sendinitialize,*a,&b)
return obj
end
end
Note #advice is a sprcisl module that provides AOP features.
Like to get the opinions of other Ruby experts on this. What kind of
potential trouble am I asking for by using this?
Thanks,
T.