array code completion Follow
I'm a total newbie to Ruby so bear with me.
I am running RubyMine 3.2.1 on Windows 7. Note the following class, particularly the "with_title" method. In the IDE when I type a period "." after the "@songs" I get a popup with various methods in it as expected. However, the "find" method is not one of them. Since @songs is an Array, I would expect to see "find". It comes from the Enumerable module that's automatically mixed in to Array and Hash classes. Why does "find" not show up in the popup?
I put this same file in NetBeans 7.0 and it shows all of the Enumerable mixin methods just fine for the @songs array type.
@songs = Array.new()
Please sign in to leave a comment.
Please do not forget to mention the issue if you have created one: http://youtrack.jetbrains.net/issue/RUBY-8876