HomePhorge

(PUP-4178) Correct impl of defined() for Ruby 1.8.7
05a47044b75cUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(PUP-4178) Correct impl of defined() for Ruby 1.8.7

Ruby 1.8.7 have a problem with turning empty string into a sym.

This problem uncovered yet another problem; the logic used
scope.find_class which is not what is expected (as it returns true
if a class exists but is not included).

Details

Event Timeline

Henrik Lindberg <henrik.lindberg@cloudsmith.com> committed rPU05a47044b75c: (PUP-4178) Correct impl of defined() for Ruby 1.8.7 (authored by Henrik Lindberg <henrik.lindberg@cloudsmith.com>).Apr 21 2015, 5:57 PM