Class: YARD::Amp::ModernDescriptionHandler
- Inherits:
-
ModernAmpCommandHandler
- Object
- Handlers::Ruby::Base
- ModernAmpCommandHandler
- YARD::Amp::ModernDescriptionHandler
- Defined in:
- lib/yard-amp/modern_handler.rb
Instance Method Summary collapse
Methods inherited from ModernAmpCommandHandler
Methods included from ParsingHelpers
#clean_string, #construct_docstring, #parse_hash, #split_by_comma_smart
Instance Method Details
#process ⇒ Object
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 |