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.

7
1 comment

Like return methods, simply use @return tags.

1

Please sign in to leave a comment.