Both ruby and RubyMine think that "context" is a local variable but not a setter for @context :(
Code cleanup: indentation fixed
Code cleanup: ruby warnings fixed