D
Dan Thomas
Hello,
I'm reverse engineering some code I inherited, and having a little
trouble understanding andand. I know that
a.andand(b)
is equivalent to
a && a.b
and yet I'm still having trouble understanding:
id = step.search("property[name=id]").first.andand["value"]
I would like to rewrite it using the "&&" notation, to have as a comment
in the code.
If you could write it out for me, it would help a lot. Thanks!
I'm reverse engineering some code I inherited, and having a little
trouble understanding andand. I know that
a.andand(b)
is equivalent to
a && a.b
and yet I'm still having trouble understanding:
id = step.search("property[name=id]").first.andand["value"]
I would like to rewrite it using the "&&" notation, to have as a comment
in the code.
If you could write it out for me, it would help a lot. Thanks!