README.rdoc in locale-2.0.1 vs README.rdoc in locale-2.0.2
- old
+ new
@@ -34,20 +34,28 @@
* tar-ball:
Download tar-ball from http://rubyforge.org/projects/locale/
De-Compress archive and enter its top directory.
Then type:
- ($ su)
- # ruby setup.rb
+ ($ su)
+ # ruby setup.rb
== The simplest usage
require 'rubygems'
require 'locale'
- p Locale.current
+ p Locale.candidates
+== APIs
+The most important APIs are defined in Locale module.
+
+* Locale.candidates - Returns the current locale candidates.
+* Locale.current= - Sets the current locale(in a thread).
+* Locale.default= - Sets the default locale(in the whole program).
+* Locale.set_app_language_tags - Sets the locale that is supported by the App.
+
== License
This program is licenced under the same licence as Ruby.
(See the file 'COPYING'.)
* locale/language.rb, locale/region.rb,
@@ -63,16 +71,16 @@
* Copyright (C) 2008 Masao Mutoh <mutoh at highwhay.ne.jp>
== References
=== Other libraries
* langtag-0.1.0
- by Martin Dürst <http://rubyforge.org/projects/langtag/>
+ * by Martin Dürst <http://rubyforge.org/projects/langtag/>
* memoizable.rb
- from ActiveSupport-2.2.0 <http://rubyforge.org/projects/activesupport/>
+ * from ActiveSupport-2.2.0 <http://rubyforge.org/projects/activesupport/>
* Ruby-GetText-Package-1.92.0
- by Masao Mutoh <http://www.yotabanana.com/hiki/ruby-gettext.html>
+ * by Masao Mutoh <http://www.yotabanana.com/hiki/ruby-gettext.html>
=== Documents
* The Open Group Base Specifications Issue 6 IEEE Std 1003.1, 2004 Edition
Internationalization Variables
<http://www.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap08.html>