| - the cursor. I press Ctrl+J to get available methods for String class but nothing appears (I’ve debugged it and I know that login is an instance of String class after gets.chomp was called). How can I set the type of variable login to String so Komodo will show me methods of String class? I can do that in PHP or Python with their Docstrings, but I don’t see any equivalent of Docstring in Ruby
Your first example is good. It looks like CodeIntel isn’t aware of the return type of Kernel#gets. I get no CodeIntel help for the variables used in this code: