Module: Babelphish
- Defined in:
- lib/babelphish/languages.rb,
lib/babelphish.rb,
lib/babelphish/exceptions.rb,
lib/babelphish/translator.rb,
lib/babelphish/yml_translator.rb,
lib/babelphish/html_translator.rb
Overview
a list of supported languages is available here: code.google.com/apis/ajaxlanguage/documentation/reference.html#_intro_fonje
Defined Under Namespace
Modules: Exceptions, GoogleTranslate, HtmlTranslator, Translator, YmlTranslator
Constant Summary collapse
- GOOGLE_AJAX_URL =
"http://ajax.googleapis.com/ajax/services/language/"
- MAX_RETRIES =
3
Class Method Summary collapse
Class Method Details
.load_tasks ⇒ Object
42 43 44 45 46 47 48 49 50 |
# File 'lib/babelphish.rb', line 42 def self.load_tasks if File.exists?('Rakefile') load 'Rakefile' Dir[File.join(File.dirname(__FILE__), 'tasks', '**/*.rake')].each { |rake| load rake } return true else return false end end |