T
Thomas Hafner
Hello,
how can I write a method f which fullfills the following
specification?
The function f has one Fixnum argument oi.
f(oi) == [true, obj], if there's an object obj with obj.object_id == oi;
f(oi) == [false, nil], otherwise.
Regards
Thomas
how can I write a method f which fullfills the following
specification?
The function f has one Fixnum argument oi.
f(oi) == [true, obj], if there's an object obj with obj.object_id == oi;
f(oi) == [false, nil], otherwise.
Regards
Thomas