HomePhorge

(#10161) Parenthesize method arguments
c34361513676Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#10161) Parenthesize method arguments

Ruby 1.8.6 issues warnings when arguments to nested methods are not
parenthesized, e.g.

f.puts(YAML.dump metadata)

results in:

warning: parenthsize arguments(s) for future versions

These warnings were introduced during Windows development, but not
noticed on that platform due to using ruby 1.8.7, which doesn't issue
a warning. This commit just wraps the arguments in parenthesis.

Details

Provenance
Josh Cooper <josh@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU2d2d493697e3: Merge branch '2.7rc' into 2.7.x
Branches
Unknown
Tags
Unknown

Event Timeline

Josh Cooper <josh@puppetlabs.com> committed rPUc34361513676: (#10161) Parenthesize method arguments (authored by Josh Cooper <josh@puppetlabs.com>).Oct 19 2011, 10:58 PM