T
Todd
Hello, just 2 simple questions...
1. Why is it that you cannot have an iterator nested inside a
conditional loop? I'm sure there's a good reason, but it escapes me.
2. Is it possible in Ruby, from within a block, to modify variables
that belong to the calling object? Something similar to Array#map! Or
must this be done in C?
Thanks,
Todd
1. Why is it that you cannot have an iterator nested inside a
conditional loop? I'm sure there's a good reason, but it escapes me.
2. Is it possible in Ruby, from within a block, to modify variables
that belong to the calling object? Something similar to Array#map! Or
must this be done in C?
Thanks,
Todd