lsegal (owner)

Fork Of

Revisions

gist: 131370 Download_button fork
public
Public Clone URL: git://gist.github.com/131370.git
Embed All Files: show embed
Ruby #
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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