lib/capistrano/configuration/variables.rb in capistrano-2.5.3 vs lib/capistrano/configuration/variables.rb in capistrano-2.5.4

- old
+ new

@@ -109,11 +109,11 @@ def protect(variable) @variable_locks[variable.to_sym].synchronize { yield } end private :protect - def respond_to_with_variables?(sym) #:nodoc: - @variables.has_key?(sym) || respond_to_without_variables?(sym) + def respond_to_with_variables?(sym, include_priv=false) #:nodoc: + @variables.has_key?(sym) || respond_to_without_variables?(sym, include_priv) end def method_missing_with_variables(sym, *args, &block) #:nodoc: if args.length == 0 && block.nil? && @variables.has_key?(sym) self[sym] \ No newline at end of file