puppet-strings/lib
Will Hopper ca98890cdd (PDOC-122) Properly parse `newfunction` calls with newlines
When `newfunction` is separated from the Puppet::Parser::Functions module name by a
newline, YARD ignores the namespace and uses `newfunction` as the source of the
first statement.

Prior to this commit, strings didn't recognize this case, and 3.x functions written
in this way were not parsed as functions. This commit updates the ruby function handler
to identify and properly parse 3.x functions that include a newline between the
Puppet::Parser::Function namespace and the newfunction method call.
2016-10-10 15:27:23 -07:00
..
puppet (maint) RuboCop fixes. 2016-09-15 17:15:54 -07:00
puppet-strings (PDOC-122) Properly parse `newfunction` calls with newlines 2016-10-10 15:27:23 -07:00
puppet-strings.rb (PDOC-63) Implement JSON output. 2016-09-15 17:15:50 -07:00