How to annotate types for attr_accessor

Answered

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.

1 comment
Comment actions Permalink

Like return methods, simply use @return tags.

0

Please sign in to leave a comment.