Method: AnnotateRb::ModelAnnotator::CheckConstraintAnnotation::Annotation#body

Defined in:
lib/annotate_rb/model_annotator/check_constraint_annotation/annotation.rb

#bodyObject



13
14
15
16
17
18
19
20
# File 'lib/annotate_rb/model_annotator/check_constraint_annotation/annotation.rb', line 13

def body
  [
    Components::BlankCommentLine.new,
    Components::Header.new(HEADER_TEXT),
    Components::BlankCommentLine.new,
    *@constraints
  ]
end