lib/urban_dictionary.rb in urban_dictionary-1.0.0 vs lib/urban_dictionary.rb in urban_dictionary-1.1.0
- old
+ new
@@ -24,7 +24,8 @@
Word.from_url(rsp['location'])
end
end
+UrbanDictionary::Formatter.register(:definition, UrbanDictionary::DefinitionFormatter)
UrbanDictionary::Formatter.register(:json, UrbanDictionary::JsonFormatter)
UrbanDictionary::Formatter.register(:plain, UrbanDictionary::PlainFormatter)