lib/urban_dictionary.rb in urban_dictionary-0.0.1 vs lib/urban_dictionary.rb in urban_dictionary-0.0.2
- old
+ new
@@ -18,8 +18,8 @@
req = Net::HTTP::Get.new(url.path)
rsp = Net::HTTP.start(url.host, url.port) {|http|
http.request(req)
}
- Word.from_url(rsp['location'])
+ define(rsp['location'])
end
end
\ No newline at end of file