Created
June 17, 2009 17:25
-
-
Save lsegal/131370 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment