diff options
Diffstat (limited to 'Library/Homebrew/formula.rb')
| -rw-r--r-- | Library/Homebrew/formula.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index e394d0f5c..dd4e03261 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -378,7 +378,7 @@ class Formula      begin        klass_name = self.class_s(name) -      klass = eval(klass_name) +      klass = Object.const_get klass_name      rescue NameError        # TODO really this text should be encoded into the exception        # and only shown if the UI deems it correct to show it | 
