lib/capistrano/configuration/variables.rb in capistrano-2.5.20 vs lib/capistrano/configuration/variables.rb in capistrano-2.5.21

- old
+ new

@@ -110,11 +110,11 @@ @variable_locks[variable.to_sym].synchronize { yield } end private :protect def respond_to_with_variables?(sym, include_priv=false) #:nodoc: - @variables.has_key?(sym) || respond_to_without_variables?(sym, include_priv) + @variables.has_key?(sym.to_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] @@ -122,6 +122,6 @@ method_missing_without_variables(sym, *args, &block) end end end end -end \ No newline at end of file +end