Method: YARD::Docstring#+
- Defined in:
- lib/yard/docstring.rb
permalink #+(other) ⇒ Docstring
Adds another YARD::Docstring, copying over tags.
60 61 62 63 64 65 66 67 |
# File 'lib/yard/docstring.rb', line 60 def +(other) case other when Docstring Docstring.new([all, other.all].join("\n"), object) else super end end |