Class: YARD::Amp::ModernDescriptionHandler

Inherits:
ModernAmpCommandHandler show all
Defined in:
lib/yard-amp/modern_handler.rb

Instance Method Summary collapse

Methods inherited from ModernAmpCommandHandler

#attach_metadata

Methods included from ParsingHelpers

#clean_string, #construct_docstring, #parse_hash, #split_by_comma_smart

Instance Method Details

#processObject



69
70
71
72
73
# File 'lib/yard-amp/modern_handler.rb', line 69

def process
  return unless super
  params = statement.parameters
  .merge!(desc: clean_string(params.first.source))
end