rlane/rbvmomi — comment on commit ef02dc80d735af5d61554b23c4ce24d6e7a691f4
File: lib/rbvmomi/vim/Folder.rb line 41
By rlane:

Excerpts from Jeff McCune's message of 2011-11-09 19:14:23 -0500:
> Does a case statement in ruby automatically do a sort of kind_of? or should this be something like:
>
> ```
> if k.kind_of? RbVmomi::VIM::ManagedEntity then
> ...
> else
> ...
> end
> ```

You're right, the case equality operator (===) doesn't do what I
expected. I think replacing RbVmomi::VIM::ManagedEntity with Class will
work. Apparently whenever I've used this function I've just passed the
class name as a string.

I pushed a branch folder-env-fix to rlane/rbvmomi, but I don't have a
vSphere at home to test with. I'll merge it in tomorrow.