I have two self-made separate gems, but both of them have a same function called foo
for example, and foo
is implemented in C, and it's under the same namespace, so is there a way to determine if I require both gems, which version of foo
I use, or is it a way to make sure I'm actually using one of the gem's foo
function, someone recommend to use cerr
.
Though I know they're redundant, but so far I don't want to remove on of them due to some reasons.