require 'yard' YARD::Parser::SourceParser.parse_string <<-eof # ### HELPERS ### # Generates the base job definition hash # # @param [Hash] p The sanitized params sent by the user # @param [Symbol] verb The job verb (:get, :post, :delete, :put) # @param [Symbol] type The job type # @return [Hash] The base job definition def standard_input(p, type, verb) { :hello => "world" } end eof p P("#standard_input").docstring