O
oguzaltu
I have a function like this:
def fun(ob)
return a_modified_version_of_ob
end
Of course, if I have an object instance 'obis', I need to call it
like
fun(obis)
I want to be able to call like obis.fun
And I want to be able to do that all object types
Possible?
Thx...
def fun(ob)
return a_modified_version_of_ob
end
Of course, if I have an object instance 'obis', I need to call it
like
fun(obis)
I want to be able to call like obis.fun
And I want to be able to do that all object types
Possible?
Thx...