lita-urban-dictionary is a handler for Lita looks up the definitions of words on Urban Dictionary.
Add lita-urban-dictionary to your Lita instance's Gemfile:
gem "lita-urban-dictionary"
- max_response_size (
Integer
,nil
) - Sets a ceiling on the response size of the queried defintion, ornil
for no limit.. Default:20
.
This example configuration sets a max response size of 5 lines.
Lita.configure do |config|
config.handlers.urban_dictionary.max_response_size = 5
end
To get the definition of a word:
Lita: ud WORD