Class: AnnotateRb::ModelAnnotator::Components::Base
- Inherits:
-
Object
- Object
- AnnotateRb::ModelAnnotator::Components::Base
show all
- Defined in:
- lib/annotate_rb/model_annotator/components.rb
Direct Known Subclasses
Annotation::AnnotationBuilder::Annotation, Annotation::MainHeader, Annotation::MarkdownHeader, Annotation::SchemaFooter, Annotation::SchemaHeader, Annotation::SchemaHeader::TableName, AnnotateRb::ModelAnnotator::CheckConstraintAnnotation::CheckConstraintComponent, AnnotateRb::ModelAnnotator::ColumnAnnotation::ColumnComponent, BlankCommentLine, Header, LineBreak, NilComponent, ForeignKeyAnnotation::ForeignKeyComponent, IndexAnnotation::IndexComponent
Instance Method Summary
collapse
Instance Method Details
#to_default ⇒ Object
21
22
23
|
# File 'lib/annotate_rb/model_annotator/components.rb', line 21
def to_default
raise NoMethodError, "Not implemented by class #{self.class}"
end
|
#to_markdown ⇒ Object
Methods default to #to_default, unless overridden by sub class
9
10
11
|
# File 'lib/annotate_rb/model_annotator/components.rb', line 9
def to_markdown
to_default
end
|
#to_rdoc ⇒ Object
13
14
15
|
# File 'lib/annotate_rb/model_annotator/components.rb', line 13
def to_rdoc
to_default
end
|
#to_yard ⇒ Object
17
18
19
|
# File 'lib/annotate_rb/model_annotator/components.rb', line 17
def to_yard
to_default
end
|