lib/build/environment/evaluator.rb in build-environment-1.4.0 vs lib/build/environment/evaluator.rb in build-environment-1.5.0

- old
+ new

@@ -23,9 +23,13 @@ class Evaluator def initialize(environment) @environment = environment end + def respond_to?(name, include_private = false) + @environment.include?(name) || super + end + def method_missing(name) object_value(@environment[name]) end # Compute the literal object value for a given key: