像 PHP 中的内联 RubyDocumentor 行?

Inline RubyDocumentor line like in PHP?

在 PHP 中,我们可以描述任何变量并在 IDE 中获得适当的自动完成,例如 PHPStorm。

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

有没有什么方法可以使用 RDoc 在 RubyMine 中制作它?

终于在我的旧代码中找到了...:)

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