Class: AnnotateRb::ModelAnnotator::Components::NilComponent

Inherits:
Base
  • Object
show all
Defined in:
lib/annotate_rb/model_annotator/components.rb

Instance Method Summary collapse

Methods inherited from Base

#to_markdown, #to_rdoc, #to_yard

Instance Method Details

#to_defaultObject

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