# File spec/warbler/task_spec.rb, line 83 def expand_webxml define_tasks "webxml" Rake::Task["warble:webxml"].invoke require 'rexml/document' File.open("#{@config.staging_dir}/WEB-INF/web.xml") do |f| REXML::Document.new(f).root.elements end end