Class: UrbanLexicophile
- Inherits:
-
Object
- Object
- UrbanLexicophile
- Defined in:
- lib/urbanlexicophile.rb,
lib/urbanlexicophile/reader.rb,
lib/urbanlexicophile/definition.rb
Defined Under Namespace
Modules: Version Classes: Definition, Reader
Class Method Summary collapse
Class Method Details
.define(term) ⇒ Object
14 15 16 17 18 |
# File 'lib/urbanlexicophile.rb', line 14 def self.define(term) reader = UrbanLexicophile::Reader.new definitions = reader.lookup_term(term) return definitions end |