Inline RubyDocumentor line like in PHP?

83 Views Asked by At

In PHP we can describe any variable and get proper auto-complete in an IDE like PHPStorm.

/** @var MyClass $my */
$my = $this->getMy();

Is there some way to make it in RubyMine by using RDoc?

1

There are 1 best solutions below

0
Kirby On BEST ANSWER

Finally found among my old code... :)

# @type [Some::MyClass] my
my = getMy