Method: JsDuck::Tag::Method#process_doc
- Defined in:
- lib/jsduck/tag/method.rb
#process_doc(h, tags, pos) ⇒ Object
Onle sets the name when it’s actually specified. Otherwise we might overwrite name coming from @constructor.
31 32 33 |
# File 'lib/jsduck/tag/method.rb', line 31 def process_doc(h, , pos) h[:name] = [0][:name] if [0][:name] end |