Class: RelatedWord
- Inherits:
-
Object
show all
- Defined in:
- lib/related_word.rb,
lib/related_word/service.rb,
lib/related_word/version.rb,
lib/related_word/configure.rb,
lib/related_word/formatter.rb,
lib/related_word/service/onelook_service.rb,
lib/related_word/formatter/base_formatter.rb,
lib/related_word/service/semantic_service.rb,
lib/related_word/formatter/onelook_formatter.rb,
lib/related_word/formatter/semantic_formatter.rb
Defined Under Namespace
Modules: Formatter
Classes: Configure, Service
Constant Summary
collapse
- VERSION =
'0.3.1'
Class Method Summary
collapse
Instance Method Summary
collapse
Class Method Details
.config {|Configure| ... } ⇒ Object
2
3
4
|
# File 'lib/related_word/configure.rb', line 2
def self.config
yield(Configure) if block_given?
end
|
Instance Method Details
#find(word) ⇒ Object
5
6
7
|
# File 'lib/related_word.rb', line 5
def find(word)
Service.instance_class.new(word).find
end
|