Is it possible to let RubyMine know about custom attr-like methods?
2 人关注
已回答
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?
请先登录再写评论。
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
Done - thank you!