Sha256: 86d2a700e36585ae7d78bf1bf931d6eeff28ce841ee616efe919855b91387779
Contents?: true
Size: 441 Bytes
Versions: 7
Compression:
Stored size: 441 Bytes
Contents
require 'locale' Locale.init(:driver => :cgi) ["i18n", "action_controller", "action_view", "version"].each do |lib| require File.join(File.dirname(__FILE__), "locale_rails", lib) end begin Rails::Info.property("Locale version") do Locale::VERSION end Rails::Info.property("Locale for Rails version") do Locale::LOCALE_RAILS_VERSION end rescue Exception $stderr.puts "Locale's Rails::Info is not found." if $DEBUG end
Version data entries
7 entries across 7 versions & 2 rubygems