Sha256: 5d63e22e88ce8a11b8cc45852b826be2adf0df6f6d29d26f9928552a1fe08981
Contents?: true
Size: 386 Bytes
Versions: 3
Compression:
Stored size: 386 Bytes
Contents
require 'ya2yaml' module Translate class Engine < Rails::Engine end if defined?(Rails) && Rails::VERSION::MAJOR == 3 class << self # For configuring Google Translate API key attr_accessor :api_key # For configuring Bing Application id attr_accessor :app_id end end Dir[File.join(File.dirname(__FILE__), "translate", "*.rb")].each do |file| require file end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
translate-rails3-0.2.3 | lib/translate.rb |
translate-rails3-0.2.2 | lib/translate.rb |
translate-rails3-0.2.0 | lib/translate.rb |