lib/sucker/response.rb in sucker-0.6.4 vs lib/sucker/response.rb in sucker-0.6.5
- old
+ new
@@ -13,10 +13,10 @@
def to_h
doc = Nokogiri::XML(body)
content_to_string(doc.to_hash)
end
- alias_method :to_hash, :to_h
+ alias :to_hash :to_h
private
def content_to_string(node)
case node