"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "actionpack/lib/action_dispatch/journey/visitors.rb" between
rails-6.1.3.2.tar.gz and rails-6.1.4.tar.gz

About: Ruby on Rails is a web application development framework (written in Ruby).

visitors.rb  (rails-6.1.3.2):visitors.rb  (rails-6.1.4)
skipping to change at line 43 skipping to change at line 43
end end
end end
end end
def evaluate(hash) def evaluate(hash)
parts = @parts.dup parts = @parts.dup
@parameters.each do |index| @parameters.each do |index|
param = parts[index] param = parts[index]
value = hash[param.name] value = hash[param.name]
return "" unless value return "" if value.nil?
parts[index] = param.escape value parts[index] = param.escape value
end end
@children.each { |index| parts[index] = parts[index].evaluate(hash) } @children.each { |index| parts[index] = parts[index].evaluate(hash) }
parts.join parts.join
end end
end end
module Visitors # :nodoc: module Visitors # :nodoc:
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)