How to annotate types for attr_accessor
已回答
How can I annotate types for attr_accessor / attr_reader / attr_writer in RubyMine? Completions using type information is very convenient. I'd like to use it with attr_accessors.
请先登录再写评论。
Like return methods, simply use @return tags.