module MsParaphrase
Constants
- VERSION
Attributes
configuration[RW]
token_manager[RW]
translator[RW]
Public Class Methods
configure() { |configuration| ... }
click to toggle source
# File lib/ms_paraphrase.rb, line 19 def self.configure self.configuration ||= Configuration.new self.token_manager ||= TokenManager.new self.translator ||= Translator.new yield(configuration) if block_given? end
configure_token_manager() { |token_manager| ... }
click to toggle source
# File lib/ms_paraphrase.rb, line 26 def self.configure_token_manager self.token_manager ||= TokenManager.new yield(token_manager) if block_given? end