Add constants MAGIC_COMMENT_MATCHER (#711)
I added `AnnotateModels::MAGIC_COMMENT_MATCHER` and `AnnotateRoutes::MAGIC_COMMENT_MATCHER` instad of `AnnotateModels.magic_comment_matcher` and `AnnotateRoutes.magic_comment_matcher`.
I think that they should be constants because the result of Regexp is always fixed.
Showing
Please
register
or
sign in
to comment