Module: Urban::Dictionary
Defined Under Namespace
Classes: Entry
Instance Attribute Summary collapse
Instance Method Summary collapse
Instance Attribute Details
Instance Method Details
#random ⇒ Object
12 13 14 |
# File 'lib/urban/dictionary.rb', line 12 def random process(web_service.random) end |
#search(phrase) ⇒ Object
16 17 18 |
# File 'lib/urban/dictionary.rb', line 16 def search(phrase) process(web_service.search(phrase)) end |