Previously, @property tags were only recognized in class comment blocks. Now, they can be added in comments above methods and attr_reader/attr_accessor. Additionally, custom DSL methods for model attributes/properties can be registered and allowed to have comment blocks as well.
Previously,
@property
tags were only recognized in class comment blocks. Now, they can be added in comments above methods and attr_reader/attr_accessor. Additionally, custom DSL methods for model attributes/properties can be registered and allowed to have comment blocks as well.See the file spec/fixtures/models/person.rb for an example.