diff options
| author | eregon | 2011-03-20 22:37:25 +0100 |
|---|---|---|
| committer | Adam Vandenberg | 2011-03-20 19:12:29 -0700 |
| commit | b6506fb4ea02fbffaa047df46effed1f30b52ff6 (patch) | |
| tree | 70ed22fdfb129bcd516679abfdf29d56a3898453 /Library/Contributions | |
| parent | aefb14404876efd6b2a16626d52a8302a7aecadb (diff) | |
| download | brew-b6506fb4ea02fbffaa047df46effed1f30b52ff6.tar.bz2 | |
use Module#const_get instead of eval
* may be a problem if the constant is scoped (like A::B), but this is not the case
(const.split('::').inject(Object) { |c, part| c.const_get part } would solve that)
* this was noticed in a comment of 9afc85ad but it has disappeared
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Contributions')
0 files changed, 0 insertions, 0 deletions
