Class: AnnotateRb::ModelAnnotator::Components::NilComponent
- Defined in:
- lib/annotate_rb/model_annotator/components.rb
Instance Method Summary collapse
-
#to_default ⇒ Object
Used when we want to return a component, but does not affect annotation generation.
Methods inherited from Base
#to_markdown, #to_rdoc, #to_yard
Instance Method Details
#to_default ⇒ Object
Used when we want to return a component, but does not affect annotation generation. It will get ignored when the consuming object calls Array#compact
29 30 31 |
# File 'lib/annotate_rb/model_annotator/components.rb', line 29 def to_default nil end |