Skip to content

Commit

Permalink
Require rexml/document which is needed for -f xml
Browse files Browse the repository at this point in the history
  • Loading branch information
joelparkerhenderson committed Oct 11, 2011
1 parent 76a9f1b commit 18d1a3a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/httparty
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ else
puts YAML.dump(response.delegate) puts YAML.dump(response.delegate)
end end
when :xml when :xml
require 'rexml/document'
REXML::Document.new(response.body).write(STDOUT, 2) REXML::Document.new(response.body).write(STDOUT, 2)
puts puts
else else
Expand Down

0 comments on commit 18d1a3a

Please sign in to comment.