HomePhorge

Fix arity of blocks to validate for file properties
0200629650e5Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Fix arity of blocks to validate for file properties

In Ruby 1.9 define_method respects arity of blocks, so blocks given to
validate must take one arg.

Details

Provenance
Patrick Carlisle <patrick@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU5e9cf138aaf8: Merge branch '7004-plural-e' into 2.7.x
Branches
Unknown
Tags
Unknown

Event Timeline

Patrick Carlisle <patrick@puppetlabs.com> committed rPU0200629650e5: Fix arity of blocks to validate for file properties (authored by Patrick Carlisle <patrick@puppetlabs.com>).Dec 6 2011, 12:53 AM