# File lib/homesick/utils.rb, line 55 def inside_each_castle all_castles.each do |git_dir| castle = git_dir.dirname Dir.chdir castle do # so we can call git config from the right contxt yield castle end end end