Sha256: 0cd2bd633afd203d02d24ecafb2252a02c59cf0e54673ac4c340e85ee16f82f7

Contents?: true

Size: 537 Bytes

Versions: 1

Compression:

Stored size: 537 Bytes

Contents

require 'locale'

Locale.init(:driver => :cgi)

# localized view support was canceled.
#["i18n", "action_controller", "action_view", "version"].each do  |lib|
["i18n", "action_controller", "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

1 entries across 1 versions & 1 rubygems

Version Path
locale_rails-2.0.0 lib/locale_rails.rb