I'm a beginner in Ruby and Rubymine so sorry if this is an obvious question.
I'm creating a hash and adding an object from a specific class to it. For example:
measures = Hash.new
measures["weight"] = Measurement.new
Understandably, since typing is not static the object type is not explicitly stated so I want to know if there's a way to tell Rubymine measures["weight"] is going to be an object of the Measurement class so it can suggest me the methods from that class in the autocompletion feature.