Is it possible to let RubyMine know about custom attr-like methods?

Answered

I have a DSL method that I use to define some custom getters and setters. They work somewhat similar to Ruby's own `attr`. Is there a way I can allow RubyMine to understand this? Via YARD markup for instances?

2 comments
Comment actions Permalink

Hello Thomas,

it can be done via @!macro but it's not supported yet, so please add your vote and follow the corresponding issue: https://youtrack.jetbrains.com/issue/RUBY-20130

1
Comment actions Permalink

Done - thank you!

0

Please sign in to leave a comment.