lib/locale/driver/posix.rb in locale-2.0.8 vs lib/locale/driver/posix.rb in locale-2.0.9

- old
+ new

@@ -28,10 +28,10 @@ module Driver module Posix $stderr.puts self.name + " is loaded." if $DEBUG module_function - # Gets the locales from environment variables. (LANGUAGE > LC_ALL > LC_CTYPES > LANG) + # Gets the locales from environment variables. (LANGUAGE > LC_ALL > LC_MESSAGES > LANG) # Only LANGUAGE accept plural languages such as "nl_BE; # * Returns: an Array of the locale as Locale::Tag::Posix or nil. def locales ::Locale::Driver::Env.locales end