I've been using Rubymine for a few months and the project I'm porting uses a class in the lib directory of the Rails app but the inspection done by Rubymine flags the argument passed to the constructor as 'extra arguments' . The code executes without errors but Rubymine doesn't like the syntax. How can I make Rubymine inspector not flag this as an error?
Here's the screen shot of one of the source code indicted by one of these (false) inspection errors:
And here's a screen shot of my initialize() method in the library class Semester.rb :
Any ideas on how to make the inspector happy with this?