Module: Googletrans

Defined in:
lib/googletrans.rb,
lib/googletrans/gtoken.rb,
lib/googletrans/version.rb,
lib/googletrans/translator.rb

Defined Under Namespace

Classes: Error, Token, Translator

Constant Summary collapse

VERSION =
"0.4.0"

Class Method Summary collapse

Class Method Details

.translator(query, dest, src = "auto", params = {}) ⇒ Object



8
9
10
# File 'lib/googletrans.rb', line 8

def translator query,dest,src="auto",params={}
  build(params).translator query,src,dest
end