HomePhorge

(PUP-4066) Make built in variables exist at all times
424ca0fb5d68Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(PUP-4066) Make built in variables exist at all times

Before this commit, it was problematic to use the built in variables
$caller_module_name, and $module_name when testing a module since
and using the --strict_variables option since these built in variables
are not set by the test harness.

This commit makes the two built in variables always exist. They have
undef value unless set by the runtime.

Details

Provenance
Henrik Lindberg <henrik.lindberg@cloudsmith.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU245de036f676: (PUP-1635) Make daemon.rb signals Ruby 2.x safe
Branches
Unknown
Tags
Unknown

Event Timeline

Henrik Lindberg <henrik.lindberg@cloudsmith.com> committed rPU424ca0fb5d68: (PUP-4066) Make built in variables exist at all times (authored by Henrik Lindberg <henrik.lindberg@cloudsmith.com>).Mar 4 2015, 3:00 PM